projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b9c7b4
)
[ARM] always allow dump_stack() to produce a backtrace
author
Russell King
<rmk@dyn-67.arm.linux.org.uk>
Thu, 5 Jul 2007 18:59:51 +0000
(19:59 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Thu, 5 Jul 2007 18:59:51 +0000
(19:59 +0100)
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 <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/traps.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/kernel/traps.c
b/arch/arm/kernel/traps.c
index 1b68d365d0e1e52887693122a344ec335219942f..237f4999b9a167688730220bed88f4f38a3e0385 100644
(file)
--- 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);