Skip to content

Commit d33c9a4

Browse files
sebastianasvegard
authored andcommitted
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>
1 parent 414f325 commit d33c9a4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎lib/Kconfig.kmemcheck‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
config HAVE_ARCH_KMEMCHECK
22
bool
33

4+
if HAVE_ARCH_KMEMCHECK
5+
46
menuconfig KMEMCHECK
57
bool "kmemcheck: trap use of uninitialized memory"
68
depends on DEBUG_KERNEL
@@ -89,3 +91,4 @@ config KMEMCHECK_BITOPS_OK
8991
accesses where not all the bits are initialized at the same time.
9092
This may also hide some real bugs.
9193

94+
endif

0 commit comments

Comments
 (0)