slub: Move functions to reduce #ifdefs
authorChristoph Lameter <cl@linux.com>
Tue, 5 Oct 2010 18:57:27 +0000 (13:57 -0500)
committerPekka Enberg <penberg@kernel.org>
Wed, 6 Oct 2010 13:54:37 +0000 (16:54 +0300)
commita5a84755c5900416dce0166ac825866aad8048ef
treed2d76f4aa663695790aa05dbac3800d7f2884c5f
parentab4d5ed5eeda4f57c50d14131ce1b1da75d0c938
slub: Move functions to reduce #ifdefs

There is a lot of #ifdef/#endifs that can be avoided if functions would be in different
places. Move them around and reduce #ifdef.

Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slub.c