浏览代码

[PATCH] DEBUG_SLAB depends on SLAB

Make DEBUG_SLAB depend on SLAB.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Matt Mackall <mpm@selenic.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Ingo Molnar 19 年之前
父节点
当前提交
50dd26ba09
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/Kconfig.debug

+ 1 - 1
lib/Kconfig.debug

@@ -79,7 +79,7 @@ config SCHEDSTATS
 
 
 config DEBUG_SLAB
 config DEBUG_SLAB
 	bool "Debug memory allocations"
 	bool "Debug memory allocations"
-	depends on DEBUG_KERNEL
+	depends on DEBUG_KERNEL && SLAB
 	help
 	help
 	  Say Y here to have the kernel do limited verification on memory
 	  Say Y here to have the kernel do limited verification on memory
 	  allocation as well as poisoning memory on free to catch use of freed
 	  allocation as well as poisoning memory on free to catch use of freed