summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>2009-06-28 13:10:19 +0200
committerVegard Nossum <vegard.nossum@gmail.com>2009-07-01 22:28:44 +0200
commitd33c9a491bc87fb87fd0298d0425f0ff320d20a2 (patch)
tree8f59dce9f0d8c4931ddf5e9e4457aca558d97b7e /lib
parent414f3251aa1b4cbd1e070866971eabc004a7dc20 (diff)
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')
-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