diff options
author | Sebastian Andrzej Siewior <sebastian@breakpoint.cc> | 2009-06-28 13:10:19 +0200 |
---|---|---|
committer | Vegard Nossum <vegard.nossum@gmail.com> | 2009-07-01 22:28:44 +0200 |
commit | d33c9a491bc87fb87fd0298d0425f0ff320d20a2 (patch) | |
tree | 8f59dce9f0d8c4931ddf5e9e4457aca558d97b7e /lib | |
parent | 414f3251aa1b4cbd1e070866971eabc004a7dc20 (diff) | |
download | linux-3.10-d33c9a491bc87fb87fd0298d0425f0ff320d20a2.tar.gz linux-3.10-d33c9a491bc87fb87fd0298d0425f0ff320d20a2.tar.bz2 linux-3.10-d33c9a491bc87fb87fd0298d0425f0ff320d20a2.zip |
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.kmemcheck | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Kconfig.kmemcheck b/lib/Kconfig.kmemcheck index 603c81b6654..846e039a86b 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 |