Commit 157cff96 authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds

[PATCH] gcc-3.5 fixes

Trivial gcc-3.5 build fixes.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent d14ab63f
......@@ -9,6 +9,10 @@
# define __inline __inline__ __attribute__((always_inline))
#endif
#if __GNUC_MINOR__ >= 1
# define __always_inline inline __attribute__((always_inline))
#endif
#if __GNUC_MINOR__ > 0
# define __deprecated __attribute__((deprecated))
#endif
......
......@@ -124,4 +124,8 @@ extern void __chk_user_ptr(void __user *);
#define noinline
#endif
#ifndef __always_inline
#define __always_inline inline
#endif
#endif /* __LINUX_COMPILER_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment