Skip to content

Commit

Permalink
Blackfin: restore exception banner when dumping crash info
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mike Frysinger committed Jul 16, 2009
1 parent 0e4edcf commit 15627bd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions arch/blackfin/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 15627bd

Please sign in to comment.