projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e4edcf
)
Blackfin: restore exception banner when dumping crash info
author
Mike Frysinger
<vapier@gentoo.org>
Tue, 23 Jun 2009 11:21:34 +0000
(11:21 +0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Thu, 16 Jul 2009 05:52:20 +0000
(
01:52
-0400)
Previous unification code put the exception banner behind the "is oops"
logic when it should have been printed all the time.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/traps.c
patch
|
blob
|
history
diff --git
a/arch/blackfin/kernel/traps.c
b/arch/blackfin/kernel/traps.c
index 664de56296cbcb1e1198bf9d668214eb55eef129..9efac0f2e2ce183e3cfffc618ceb3054442e4b88 100644
(file)
--- a/
arch/blackfin/kernel/traps.c
+++ b/
arch/blackfin/kernel/traps.c
@@
-570,11
+570,12
@@
asmlinkage void trap_c(struct pt_regs *fp)
if (kernel_mode_regs(fp) || (current && !current->mm)) {
console_verbose();
oops_in_progress = 1;
- if (strerror)
- verbose_printk(strerror);
}
if (sig != SIGTRAP) {
+ if (strerror)
+ verbose_printk(strerror);
+
dump_bfin_process(fp);
dump_bfin_mem(fp);
show_regs(fp);