diff options
author | Christoph Lameter <clameter@sgi.com> | 2007-05-10 06:15:40 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-10 12:26:53 -0400 |
commit | d4751a2797bc0a37a8e85783d65ffaa9de689e60 (patch) | |
tree | 140781a632156218de3e5e99d608c053fe5639da /init | |
parent | 5a18c92aab13aac7917bc87ceefa23da68698be4 (diff) |
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>
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
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 | |||
505 | config SLUB_DEBUG | 505 | config SLUB_DEBUG |
506 | default y | 506 | default y |
507 | bool "Enable SLUB debugging support" if EMBEDDED | 507 | bool "Enable SLUB debugging support" if EMBEDDED |
508 | depends on SLUB | ||
508 | help | 509 | help |
509 | SLUB has extensive debug support features. Disabling these can | 510 | SLUB has extensive debug support features. Disabling these can |
510 | result in significant savings in code size. This also disables | 511 | result in significant savings in code size. This also disables |