ARM: Fix dump_stack() config dependencies
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 <[email protected]>
arch/arm/kernel/traps.c +2 -0
@@ -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);
Signature · 4 lines
Deepak Saxena - [email protected] - 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
Ingo Molnar
AppliedQuoted 6 lines · Deepak Saxena
DEBUG_ERRORSdoes not depend onDEBUG_MUTEXESand the kernel will not build if the former is enabled and the later disables. Other option is to makeDEBUG_ERRORSautomatically enabledDEBUG_MUTEXESin the RT case.Signed-off-by Deepak Saxena <[email protected]>
thanks, applied.
Ingo