SLUB: Fix CONFIG_SLUB_DEBUG use for CONFIG_NUMA
authorChristoph Lameter <clameter@sgi.com>
Tue, 17 Jul 2007 11:03:32 +0000 (04:03 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 17:23:02 +0000 (10:23 -0700)
commit8ab1372fac5684de56c68f0da1ddc90e1c4ce740
tree42594d334c83ff18655731bf4d9f5d023c9c2886
parenta0e1d1be204612ee83b3afe8aa24c5d27e63d464
SLUB: Fix CONFIG_SLUB_DEBUG use for CONFIG_NUMA

We currently cannot disable CONFIG_SLUB_DEBUG for CONFIG_NUMA.  Now that
embedded systems start to use NUMA we may need this.

Put an #ifdef around places where NUMA only code uses fields only valid
for CONFIG_SLUB_DEBUG.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/slub.c