Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
3028439e
Commit
3028439e
authored
Mar 10, 2003
by
Andrew Morton
Committed by
Linus Torvalds
Mar 10, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] work around gcc-3.x inlining bugs
Force inlining even when gcc-3.x is too confused to do it for us.
parent
b85b717c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
include/linux/compiler.h
include/linux/compiler.h
+6
-0
No files found.
include/linux/compiler.h
View file @
3028439e
#ifndef __LINUX_COMPILER_H
#ifndef __LINUX_COMPILER_H
#define __LINUX_COMPILER_H
#define __LINUX_COMPILER_H
#if (__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
#define inline __inline__ __attribute__((always_inline))
#define __inline__ __inline__ __attribute__((always_inline))
#define __inline __inline__ __attribute__((always_inline))
#endif
/* Somewhere in the middle of the GCC 2.96 development cycle, we implemented
/* Somewhere in the middle of the GCC 2.96 development cycle, we implemented
a mechanism by which the user can annotate likely branch directions and
a mechanism by which the user can annotate likely branch directions and
expect the blocks to be reordered appropriately. Define __builtin_expect
expect the blocks to be reordered appropriately. Define __builtin_expect
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment