From: Sebastian Andrzej Siewior Date: Sun, 28 Jun 2009 11:10:19 +0000 (+0200) Subject: kmemcheck: depend on HAVE_ARCH_KMEMCHECK X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d33c9a491bc87fb87fd0298d0425f0ff320d20a2;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git kmemcheck: depend on HAVE_ARCH_KMEMCHECK to make it selectable if it is available. Signed-off-by: Sebastian Andrzej Siewior Acked-by: Pekka Enberg Signed-off-by: Vegard Nossum --- 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