|
@@ -1547,14 +1547,6 @@ void StackOverflow(struct pt_regs *regs)
|
|
|
panic("kernel stack overflow");
|
|
|
}
|
|
|
|
|
|
-void nonrecoverable_exception(struct pt_regs *regs)
|
|
|
-{
|
|
|
- printk(KERN_ERR "Non-recoverable exception at PC=%lx MSR=%lx\n",
|
|
|
- regs->nip, regs->msr);
|
|
|
- debugger(regs);
|
|
|
- die("nonrecoverable exception", regs, SIGKILL);
|
|
|
-}
|
|
|
-
|
|
|
void kernel_fp_unavailable_exception(struct pt_regs *regs)
|
|
|
{
|
|
|
enum ctx_state prev_state = exception_enter();
|
|
@@ -2090,8 +2082,8 @@ void SPEFloatingPointRoundException(struct pt_regs *regs)
|
|
|
*/
|
|
|
void unrecoverable_exception(struct pt_regs *regs)
|
|
|
{
|
|
|
- printk(KERN_EMERG "Unrecoverable exception %lx at %lx\n",
|
|
|
- regs->trap, regs->nip);
|
|
|
+ pr_emerg("Unrecoverable exception %lx at %lx (msr=%lx)\n",
|
|
|
+ regs->trap, regs->nip, regs->msr);
|
|
|
die("Unrecoverable exception", regs, SIGABRT);
|
|
|
}
|
|
|
NOKPROBE_SYMBOL(unrecoverable_exception);
|