projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4002aca
)
[POWERPC] Add missing oops_enter/oops_exit
author
anton@samba.org
<anton@samba.org>
Wed, 21 Mar 2007 01:38:11 +0000
(20:38 -0500)
committer
Paul Mackerras
<paulus@samba.org>
Mon, 26 Mar 2007 02:34:27 +0000
(12:34 +1000)
Add missing oops_enter/oops_exit, makes pause_on_oops boot parameter work.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/traps.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/kernel/traps.c
b/arch/powerpc/kernel/traps.c
index 17724fb2067f4a2195f4e30548b62362f2c0bfd4..23f43b44bba694a3b684ba3cb959120bf6b6185d 100644
(file)
--- a/
arch/powerpc/kernel/traps.c
+++ b/
arch/powerpc/kernel/traps.c
@@
-99,6
+99,8
@@
int die(const char *str, struct pt_regs *regs, long err)
if (debugger(regs))
return 1;
+ oops_enter();
+
console_verbose();
spin_lock_irq(&die_lock);
bust_spinlocks(1);
@@
-145,6
+147,7
@@
int die(const char *str, struct pt_regs *regs, long err)
if (panic_on_oops)
panic("Fatal exception");
+ oops_exit();
do_exit(err);
return 0;