lkml.org 
[lkml]   [2009]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] kmemcheck: depend on HAVE_ARCH_KMEMCHECK
to make it selectable if it is available

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
---
lib/Kconfig.kmemcheck | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/lib/Kconfig.kmemcheck b/lib/Kconfig.kmemcheck
index 603c81b..9ccca0d 100644
--- a/lib/Kconfig.kmemcheck
+++ b/lib/Kconfig.kmemcheck
@@ -1,6 +1,7 @@
config HAVE_ARCH_KMEMCHECK
bool

+if HAVE_ARCH_KMEMCHECK
menuconfig KMEMCHECK
bool "kmemcheck: trap use of uninitialized memory"
depends on DEBUG_KERNEL
@@ -89,3 +90,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
--
1.6.0.6


\
 
 \ /
  Last update: 2009-06-28 13:13    [W:0.043 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site