mm: remove gcc workaround
authorNick Piggin <npiggin@suse.de>
Sun, 6 May 2007 21:49:02 +0000 (14:49 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 7 May 2007 19:12:51 +0000 (12:12 -0700)
commit5f22df00a009e3f86301366c0ecddb63ebd22af9
tree72f0ea3e114dbb6825fc7e73f828645d364ea520
parentd2ba27e8007b35d24764c0877ab2428e00a5c5ab
mm: remove gcc workaround

Minimum gcc version is 3.2 now.  However, with likely profiling, even
modern gcc versions cannot always eliminate the call.

Replace the placeholder functions with the more conventional empty static
inlines, which should be optimal for everyone.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mm.h
mm/memory.c