Commit 2d9a5998 authored by Russell King's avatar Russell King

[ARM] Distinguish between the various oops messages better.

parent 834a4b58
......@@ -325,7 +325,7 @@ asmlinkage void bad_mode(struct pt_regs *regs, int reason, int proc_mode)
dump_mem(KERN_CRIT "Vectors: ", vectors, vectors + 0x40);
dump_mem(KERN_CRIT "Stubs: ", vectors + 0x200, vectors + 0x4b8);
die("Oops", regs, 0);
die("Oops - bad mode", regs, 0);
local_irq_disable();
panic("bad mode");
}
......@@ -353,7 +353,7 @@ static int bad_syscall(int n, struct pt_regs *regs)
(thumb_mode(regs) ? 2 : 4);
force_sig_info(SIGILL, &info, current);
die_if_kernel("Oops", regs, n);
die_if_kernel("Oops - bad syscall", regs, n);
return regs->ARM_r0;
}
......@@ -471,7 +471,7 @@ asmlinkage int arm_syscall(int no, struct pt_regs *regs)
(thumb_mode(regs) ? 2 : 4);
force_sig_info(SIGILL, &info, current);
die_if_kernel("Oops", regs, no);
die_if_kernel("Oops - bad syscall(2)", regs, no);
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment