diff options
author | Helge Deller <deller@gmx.de> | 2009-02-16 04:03:11 +0100 |
---|---|---|
committer | Kyle McMartin <kyle@mcmartin.ca> | 2009-03-31 04:51:35 +0200 |
commit | c48faf86b0d59cc43ff4eede59c4af7afbd7c0ff (patch) | |
tree | c512fdd4bf38b692713b7d4b6676f47e9150d965 /arch/parisc | |
parent | parisc: document light weight syscall ABI (diff) | |
download | linux-c48faf86b0d59cc43ff4eede59c4af7afbd7c0ff.tar.xz linux-c48faf86b0d59cc43ff4eede59c4af7afbd7c0ff.zip |
parisc: oops_enter()/oops_exit() in die()
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>
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/kernel/traps.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/parisc/kernel/traps.c b/arch/parisc/kernel/traps.c index 7bf122a5f169..c32f5d6d778e 100644 --- a/arch/parisc/kernel/traps.c +++ b/arch/parisc/kernel/traps.c @@ -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" @@ -293,6 +295,7 @@ KERN_CRIT " || ||\n"); panic("Fatal exception"); } + oops_exit(); do_exit(SIGSEGV); } |