Skip to content

Commit

Permalink
kmemcheck: depend on HAVE_ARCH_KMEMCHECK
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
sebastianas authored and vegard committed Jul 1, 2009
1 parent 414f325 commit d33c9a4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Kconfig.kmemcheck
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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

0 comments on commit d33c9a4

Please sign in to comment.