diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-06-23 13:21:34 +0200 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-07-16 07:52:20 +0200 |
commit | 15627bd35c6f02d159e0cb41d287dcba3a23a135 (patch) | |
tree | 57155dc56043708f2c97045ddd7ba10356f7afb2 /arch/blackfin | |
parent | Blackfin: work around anomaly 05000281 (diff) | |
download | linux-15627bd35c6f02d159e0cb41d287dcba3a23a135.tar.xz linux-15627bd35c6f02d159e0cb41d287dcba3a23a135.zip |
Blackfin: restore exception banner when dumping crash info
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>
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/kernel/traps.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/blackfin/kernel/traps.c b/arch/blackfin/kernel/traps.c index 664de56296cb..9efac0f2e2ce 100644 --- 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); |