From: Christoph Lameter <clameter@sgi.com>
Date: Thu, 10 May 2007 10:15:40 +0000 (-0700)
Subject: SLUB: SLUB_DEBUG must depend on SLUB
X-Git-Tag: firefly_0821_release~29269
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d4751a2797bc0a37a8e85783d65ffaa9de689e60;p=firefly-linux-kernel-4.4.55.git

SLUB: SLUB_DEBUG must depend on SLUB

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>
---

diff --git a/init/Kconfig b/init/Kconfig
index e63a017c391e..322b1f8c21b3 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -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