]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
[PATCH] Make __always_inline actually force always inlining
authorIngo Molnar <mingo@elte.he>
Sat, 14 Jan 2006 21:21:28 +0000 (13:21 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 15 Jan 2006 02:27:15 +0000 (18:27 -0800)
commit40fc55cb69c0386504ab5184e9bea0a7aecb2bd3
treea4dd4933013448896d49b0d1cedcc1c43b23fe25
parent9eb8ef7479b6df59645af5d89d293727b521975e
[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>
include/linux/compiler-gcc3.h
include/linux/compiler-gcc4.h