summaryrefslogtreecommitdiff
path: root/lib/Kconfig.kmemcheck
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>2009-06-28 15:10:19 +0400
committerVegard Nossum <vegard.nossum@gmail.com>2009-07-02 00:28:44 +0400
commitd33c9a491bc87fb87fd0298d0425f0ff320d20a2 (patch)
tree8f59dce9f0d8c4931ddf5e9e4457aca558d97b7e /lib/Kconfig.kmemcheck
parent414f3251aa1b4cbd1e070866971eabc004a7dc20 (diff)
downloadlinux-d33c9a491bc87fb87fd0298d0425f0ff320d20a2.tar.xz
kmemcheck: depend on HAVE_ARCH_KMEMCHECK
to make it selectable if it is available. Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> Acked-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
Diffstat (limited to 'lib/Kconfig.kmemcheck')
-rw-r--r--lib/Kconfig.kmemcheck3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Kconfig.kmemcheck b/lib/Kconfig.kmemcheck
index 603c81b66549..846e039a86b4 100644
--- a/lib/Kconfig.kmemcheck
+++ b/lib/Kconfig.kmemcheck
@@ -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