提交 d33c9a49 编写于 作者: S Sebastian Andrzej Siewior 提交者: Vegard Nossum

kmemcheck: depend on HAVE_ARCH_KMEMCHECK

to make it selectable if it is available.
Signed-off-by: NSebastian Andrzej Siewior <sebastian@breakpoint.cc>
Acked-by: NPekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: NVegard Nossum <vegard.nossum@gmail.com>
上级 414f3251
config HAVE_ARCH_KMEMCHECK config HAVE_ARCH_KMEMCHECK
bool bool
if HAVE_ARCH_KMEMCHECK
menuconfig KMEMCHECK menuconfig KMEMCHECK
bool "kmemcheck: trap use of uninitialized memory" bool "kmemcheck: trap use of uninitialized memory"
depends on DEBUG_KERNEL depends on DEBUG_KERNEL
...@@ -89,3 +91,4 @@ config KMEMCHECK_BITOPS_OK ...@@ -89,3 +91,4 @@ config KMEMCHECK_BITOPS_OK
accesses where not all the bits are initialized at the same time. accesses where not all the bits are initialized at the same time.
This may also hide some real bugs. This may also hide some real bugs.
endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册