kmemcheck: depend on HAVE_ARCH_KMEMCHECK

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Tuesday, September 22, 2009 - 9:05 am

Gitweb:     http://git.kernel.org/linus/d33c9a491bc87fb87fd0298d0425f0ff320d20a2
Commit:     d33c9a491bc87fb87fd0298d0425f0ff320d20a2
Parent:     414f3251aa1b4cbd1e070866971eabc004a7dc20
Author:     Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
AuthorDate: Sun Jun 28 13:10:19 2009 +0200
Committer:  Vegard Nossum <vegard.nossum@gmail.com>
CommitDate: Wed Jul 1 22:28:44 2009 +0200

    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>
---
 lib/Kconfig.kmemcheck |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/lib/Kconfig.kmemcheck b/lib/Kconfig.kmemcheck
index 603c81b..846e039 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
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
kmemcheck: depend on HAVE_ARCH_KMEMCHECK, Linux Kernel Mailing ..., (Tue Sep 22, 9:05 am)