kmemcheck: depend on HAVE_ARCH_KMEMCHECK

to make it selectable if it is available.

Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Acked-by: Pekka Enberg <[email protected]>
Signed-off-by: Vegard Nossum <[email protected]>
This commit is contained in:
Sebastian Andrzej Siewior authored and Vegard Nossum committed 2009-07-01 22:28:44 +02:00
1 parent 414f3251aa
commit d33c9a491b
1 file changed
+3
+3
View File
@@ -1,6 +1,8 @@
config HAVE_ARCH_KMEMCHECK
bool
if HAVE_ARCH_KMEMCHECK
menuconfig KMEMCHECK
bool "kmemcheck: trap use of uninitialized memory"
depends on DEBUG_KERNEL
@@ -89,3 +91,4 @@ config KMEMCHECK_BITOPS_OK
accesses where not all the bits are initialized at the same time.
This may also hide some real bugs.
endif