X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FKconfig.kmemcheck;h=846e039a86b4b4b39c1daa55b19d7bbd6a752682;hb=d4a1ef1cbd53d915ddbeda6df39ba80037ae7408;hp=603c81b66549a013dac18294c41777c52c1b2003;hpb=fc8e1ead9314cf0e0f1922e661428b93d3a50d88;p=firefly-linux-kernel-4.4.55.git 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 @@ 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