SLUB: SLUB_DEBUG must depend on SLUB
authorChristoph Lameter <clameter@sgi.com>
Thu, 10 May 2007 10:15:40 +0000 (03:15 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 10 May 2007 16:26:53 +0000 (09:26 -0700)
Otherwise people get asked about SLUB_DEBUG even if they have another
slab allocator enabled.

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>
init/Kconfig

index e63a017..322b1f8 100644 (file)
@@ -505,6 +505,7 @@ config VM_EVENT_COUNTERS
 config SLUB_DEBUG
        default y
        bool "Enable SLUB debugging support" if EMBEDDED
+       depends on SLUB
        help
          SLUB has extensive debug support features. Disabling these can
          result in significant savings in code size. This also disables