diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-22 11:07:54 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-22 11:07:54 -0400 |
| commit | 991d79b0d1255f89267a350b0048eca59f100cbb (patch) | |
| tree | 65ddf4160f959952d9f4955fda8844374768b83e /lib | |
| parent | a87e84b5cdfacf11af4e8a85c4bca9793658536f (diff) | |
| parent | 181f7c5dd3832763bdf2756b6d2d8a49bdf12791 (diff) | |
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.kmemcheck | 3 |
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 @@ | |||
| 1 | config HAVE_ARCH_KMEMCHECK | 1 | config HAVE_ARCH_KMEMCHECK |
| 2 | bool | 2 | bool |
| 3 | 3 | ||
| 4 | if HAVE_ARCH_KMEMCHECK | ||
| 5 | |||
| 4 | menuconfig KMEMCHECK | 6 | menuconfig KMEMCHECK |
| 5 | bool "kmemcheck: trap use of uninitialized memory" | 7 | bool "kmemcheck: trap use of uninitialized memory" |
| 6 | depends on DEBUG_KERNEL | 8 | depends on DEBUG_KERNEL |
| @@ -89,3 +91,4 @@ config KMEMCHECK_BITOPS_OK | |||
| 89 | accesses where not all the bits are initialized at the same time. | 91 | accesses where not all the bits are initialized at the same time. |
| 90 | This may also hide some real bugs. | 92 | This may also hide some real bugs. |
| 91 | 93 | ||
| 94 | endif | ||
