]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite9baa3f4426bf9a6408672f21e9c8ff81239e390
tree72f0ea3e114dbb6825fc7e73f828645d364ea520
parent6f239653118486b3a8cc09efa7f48c9b3c50b64a
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