Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d33c9a49 authored by Sebastian Andrzej Siewior's avatar Sebastian Andrzej Siewior Committed by Vegard Nossum
Browse files

kmemcheck: depend on HAVE_ARCH_KMEMCHECK



to make it selectable if it is available.

Signed-off-by: default avatarSebastian Andrzej Siewior <sebastian@breakpoint.cc>
Acked-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: default avatarVegard Nossum <vegard.nossum@gmail.com>
parent 414f3251
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
config HAVE_ARCH_KMEMCHECK
config HAVE_ARCH_KMEMCHECK
	bool
	bool


if HAVE_ARCH_KMEMCHECK

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


endif