|
@@ -2427,6 +2427,8 @@ void __noreturn die_if_kernel(char *str, struct pt_regs *regs)
|
|
|
}
|
|
|
user_instruction_dump ((unsigned int __user *) regs->tpc);
|
|
|
}
|
|
|
+ if (panic_on_oops)
|
|
|
+ panic("Fatal exception");
|
|
|
if (regs->tstate & TSTATE_PRIV)
|
|
|
do_exit(SIGKILL);
|
|
|
do_exit(SIGSEGV);
|
|
@@ -2564,27 +2566,6 @@ void do_cee(struct pt_regs *regs)
|
|
|
die_if_kernel("TL0: Cache Error Exception", regs);
|
|
|
}
|
|
|
|
|
|
-void do_cee_tl1(struct pt_regs *regs)
|
|
|
-{
|
|
|
- exception_enter();
|
|
|
- dump_tl1_traplog((struct tl1_traplog *)(regs + 1));
|
|
|
- die_if_kernel("TL1: Cache Error Exception", regs);
|
|
|
-}
|
|
|
-
|
|
|
-void do_dae_tl1(struct pt_regs *regs)
|
|
|
-{
|
|
|
- exception_enter();
|
|
|
- dump_tl1_traplog((struct tl1_traplog *)(regs + 1));
|
|
|
- die_if_kernel("TL1: Data Access Exception", regs);
|
|
|
-}
|
|
|
-
|
|
|
-void do_iae_tl1(struct pt_regs *regs)
|
|
|
-{
|
|
|
- exception_enter();
|
|
|
- dump_tl1_traplog((struct tl1_traplog *)(regs + 1));
|
|
|
- die_if_kernel("TL1: Instruction Access Exception", regs);
|
|
|
-}
|
|
|
-
|
|
|
void do_div0_tl1(struct pt_regs *regs)
|
|
|
{
|
|
|
exception_enter();
|
|
@@ -2592,13 +2573,6 @@ void do_div0_tl1(struct pt_regs *regs)
|
|
|
die_if_kernel("TL1: DIV0 Exception", regs);
|
|
|
}
|
|
|
|
|
|
-void do_fpdis_tl1(struct pt_regs *regs)
|
|
|
-{
|
|
|
- exception_enter();
|
|
|
- dump_tl1_traplog((struct tl1_traplog *)(regs + 1));
|
|
|
- die_if_kernel("TL1: FPU Disabled", regs);
|
|
|
-}
|
|
|
-
|
|
|
void do_fpieee_tl1(struct pt_regs *regs)
|
|
|
{
|
|
|
exception_enter();
|