public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH-rt] ARM: Fix dump_stack() config dependencies
@ 2006-06-01 23:39 Deepak Saxena
  2006-06-04  8:43 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: Deepak Saxena @ 2006-06-01 23:39 UTC (permalink / raw)
  To: Ingo Molnar, Thomas Gleixner; +Cc: dwalker, James Perkins, linux-kernel


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-06-04  8:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-01 23:39 [PATCH-rt] ARM: Fix dump_stack() config dependencies Deepak Saxena
2006-06-04  8:43 ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox