From: maximilian attems <max@stro.at>
To: linux-kernel@vger.kernel.org
Cc: mingo@elte.hu
Subject: [patch] Kconfig.debug DEBUG_PREEMPT dependency
Date: Wed, 6 Jun 2007 12:53:14 +0200 [thread overview]
Message-ID: <20070606105314.GD32083@stro.at> (raw)
allow to set DEBUG_PREEMPT on PREEMPT_BKL, but !PREEMPT
purpose is to get bonus of debug_smp_processor_id().
Signed-off-by: maximilian attems <max@stro.at>
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index da95e10..1d4ab66 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -145,7 +145,7 @@ config DEBUG_SLAB_LEAK
config DEBUG_PREEMPT
bool "Debug preemptible kernel"
- depends on DEBUG_KERNEL && PREEMPT && TRACE_IRQFLAGS_SUPPORT
+ depends on DEBUG_KERNEL && (PREEMPT || PREEMPT_BKL) && TRACE_IRQFLAGS_SUPPORT
default y
help
If you say Y here then the kernel will use a debug variant of the
next reply other threads:[~2007-06-06 10:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-06 10:53 maximilian attems [this message]
2007-06-06 11:11 ` [patch] Kconfig.debug DEBUG_PREEMPT dependency maximilian attems
2007-06-06 11:32 ` Ingo Molnar
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=20070606105314.GD32083@stro.at \
--to=max@stro.at \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/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