Skip to content

Commit

Permalink
parisc: oops_enter()/oops_exit() in die()
Browse files Browse the repository at this point in the history
As pointed out by Russell in http://marc.info/?l=linux-arch&m=118208089204630&w=2

Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
  • Loading branch information
Helge Deller authored and Kyle McMartin committed Mar 31, 2009
1 parent c84c3a6 commit c48faf8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/parisc/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,8 @@ void die_if_kernel(char *str, struct pt_regs *regs, long err)

oops_in_progress = 1;

oops_enter();

/* Amuse the user in a SPARC fashion */
if (err) printk(
KERN_CRIT " _______________________________ \n"
Expand Down Expand Up @@ -293,6 +295,7 @@ KERN_CRIT " || ||\n");
panic("Fatal exception");
}

oops_exit();
do_exit(SIGSEGV);
}

Expand Down

0 comments on commit c48faf8

Please sign in to comment.