projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c84c3a6
)
parisc: oops_enter()/oops_exit() in die()
author
Helge Deller
<deller@gmx.de>
Mon, 16 Feb 2009 03:03:11 +0000
(
03:03
+0000)
committer
Kyle McMartin
<kyle@mcmartin.ca>
Tue, 31 Mar 2009 02:51:35 +0000
(
02:51
+0000)
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>
arch/parisc/kernel/traps.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/parisc/kernel/traps.c
b/arch/parisc/kernel/traps.c
index 7bf122a5f169305805f52b54ac02012b45197cf0..c32f5d6d778ec7bd10c028cf40db645af659686a 100644
(file)
--- 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);
}