浏览代码

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>
Christoph Lameter 18 年之前
父节点
当前提交
d4751a2797
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      init/Kconfig

+ 1 - 0
init/Kconfig

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