From: Deepak Saxena <dsaxena@plexity.net>
To: Ingo Molnar <mingo@elte.hu>, Thomas Gleixner <tglx@linutronix.de>
Cc: dwalker@mvista.com, James Perkins <james.perkins@windriver.com>,
linux-kernel@vger.kernel.org
Subject: [PATCH-rt] ARM: Fix dump_stack() config dependencies
Date: Thu, 1 Jun 2006 16:39:25 -0700 [thread overview]
Message-ID: <20060601233925.GA23811@plexity.net> (raw)
DEBUG_ERRORS does not depend on DEBUG_MUTEXES and the kernel will not
build if the former is enabled and the later disables. Other option is
to make DEBUG_ERRORS automatically enabled DEBUG_MUTEXES in the RT case.
Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Index: linux-2.6-rt/arch/arm/kernel/traps.c
===================================================================
--- linux-2.6-rt.orig/arch/arm/kernel/traps.c
+++ linux-2.6-rt/arch/arm/kernel/traps.c
@@ -178,8 +178,10 @@ void dump_stack(void)
#ifdef CONFIG_DEBUG_ERRORS
__backtrace();
print_traces(current);
+#ifdef CONFIG_DEBUG_MUTEXES
show_held_locks(current);
#endif
+#endif
}
EXPORT_SYMBOL(dump_stack);
--
Deepak Saxena - dsaxena@plexity.net - http://www.plexity.net
In the end, they will not say, "those were dark times," they will ask
"why were their poets silent?" - Bertold Brecht
next reply other threads:[~2006-06-01 23:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-01 23:39 Deepak Saxena [this message]
2006-06-04 8:43 ` [PATCH-rt] ARM: Fix dump_stack() config dependencies 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=20060601233925.GA23811@plexity.net \
--to=dsaxena@plexity.net \
--cc=dwalker@mvista.com \
--cc=james.perkins@windriver.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.