summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLinus Torvalds2009-09-22 17:07:54 +0200
committerLinus Torvalds2009-09-22 17:07:54 +0200
commit991d79b0d1255f89267a350b0048eca59f100cbb (patch)
tree65ddf4160f959952d9f4955fda8844374768b83e /lib
parentMerge branch 'for-2.6.32' of git://linux-nfs.org/~bfields/linux (diff)
parentkmemcheck: add missing braces to do-while in kmemcheck_annotate_bitfield (diff)
downloadkernel-qcow2-linux-991d79b0d1255f89267a350b0048eca59f100cbb.tar.gz
kernel-qcow2-linux-991d79b0d1255f89267a350b0048eca59f100cbb.tar.xz
kernel-qcow2-linux-991d79b0d1255f89267a350b0048eca59f100cbb.zip
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vegard/kmemcheck
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vegard/kmemcheck: kmemcheck: add missing braces to do-while in kmemcheck_annotate_bitfield kmemcheck: update documentation kmemcheck: depend on HAVE_ARCH_KMEMCHECK kmemcheck: remove useless check kmemcheck: remove duplicated #include
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