From: Russell King Date: Thu, 5 Jul 2007 18:59:51 +0000 (+0100) Subject: [ARM] always allow dump_stack() to produce a backtrace X-Git-Tag: v2.6.22~22^2 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=082f47a;p=~emulex%2Finfiniband.git [ARM] always allow dump_stack() to produce a backtrace Don't make this dependent on CONFIG_DEBUG_KERNEL - if we hit a WARN_ON we need the stack trace to work out how we got to that point. Signed-off-by: Russell King --- diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c index 1b68d365d0e..237f4999b9a 100644 --- a/arch/arm/kernel/traps.c +++ b/arch/arm/kernel/traps.c @@ -181,9 +181,7 @@ static void dump_backtrace(struct pt_regs *regs, struct task_struct *tsk) void dump_stack(void) { -#ifdef CONFIG_DEBUG_ERRORS __backtrace(); -#endif } EXPORT_SYMBOL(dump_stack);