[PATCH] Make __always_inline actually force always inlining

This patch is the first in a series that tries to optimize the kernel in terms
of size (and thus cache behavior, both cpu and pagecache).

This first patch changes __always_inline to be a forced inline instead of the
"regular" inline it was on everything except alpha. This forced inline
matches the intention of the define better as a matter of documentation.
There is no change in behavior by this patch, since "inline" currently is
mapped to a forced inline anyway.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Ingo Molnar and committed by Linus Torvalds 40fc55cb 9eb8ef74

+2 -1
+1
include/linux/compiler-gcc3.h
··· 13 #define __must_check __attribute__((warn_unused_result)) 14 #endif 15
··· 13 #define __must_check __attribute__((warn_unused_result)) 14 #endif 15 16 + #define __always_inline inline __attribute__((always_inline))
+1 -1
include/linux/compiler-gcc4.h
··· 6 #define __attribute_used__ __attribute__((__used__)) 7 #define __must_check __attribute__((warn_unused_result)) 8 #define __compiler_offsetof(a,b) __builtin_offsetof(a,b) 9 -
··· 6 #define __attribute_used__ __attribute__((__used__)) 7 #define __must_check __attribute__((warn_unused_result)) 8 #define __compiler_offsetof(a,b) __builtin_offsetof(a,b) 9 + #define __always_inline inline __attribute__((always_inline))