From: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
To: Vegard Nossum <vegard.nossum@gmail.com>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>, linux-kernel@vger.kernel.org
Subject: [PATCH] kmemcheck: depend on HAVE_ARCH_KMEMCHECK
Date: Sun, 28 Jun 2009 13:10:19 +0200 [thread overview]
Message-ID: <20090628111019.GA15900@Chamillionaire.breakpoint.cc> (raw)
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
next reply other threads:[~2009-06-28 11:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-28 11:10 Sebastian Andrzej Siewior [this message]
2009-06-28 11:07 ` Pekka Enberg
2009-07-01 20:27 ` Vegard Nossum
2009-09-21 20:35 ` Sebastian Andrzej Siewior
2009-09-21 21:22 ` Vegard Nossum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090628111019.GA15900@Chamillionaire.breakpoint.cc \
--to=sebastian@breakpoint.cc \
--cc=linux-kernel@vger.kernel.org \
--cc=penberg@cs.helsinki.fi \
--cc=vegard.nossum@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®