Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 082f47a7 authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 7b9c7b4d
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);