projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
414f325
)
kmemcheck: depend on HAVE_ARCH_KMEMCHECK
author
Sebastian Andrzej Siewior
<sebastian@breakpoint.cc>
Sun, 28 Jun 2009 11:10:19 +0000
(13:10 +0200)
committer
Vegard Nossum
<vegard.nossum@gmail.com>
Wed, 1 Jul 2009 20:28:44 +0000
(22:28 +0200)
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>
lib/Kconfig.kmemcheck
patch
|
blob
|
history
diff --git
a/lib/Kconfig.kmemcheck
b/lib/Kconfig.kmemcheck
index 603c81b66549a013dac18294c41777c52c1b2003..846e039a86b4b4b39c1daa55b19d7bbd6a752682 100644
(file)
--- 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