From: anton@samba.org Date: Wed, 21 Mar 2007 01:38:11 +0000 (-0500) Subject: [POWERPC] Add missing oops_enter/oops_exit X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=293e4688fe2fec87fccf84a3b1100b27191424e9;p=linux-beck.git [POWERPC] Add missing oops_enter/oops_exit Add missing oops_enter/oops_exit, makes pause_on_oops boot parameter work. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c index 17724fb2067f..23f43b44bba6 100644 --- 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;