mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 23:25:07 +00:00
powerpc/mpc8xx: Clearer Oops message for Software Emulation Exception
This patch modifies the Oops message in case of Software Emulation Exception. The existing message is quite confusing because it refers to FPU Emulation while most often the issue is due to either a non supported instruction (not necessarily FPU related) or a stale instruction due to HW issues. The new message tries to be more generic in order to make the user understand that the Oops is due to something wrong with an instruction, not necessarily due to an FPU instruction. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Scott Wood <scottwood@freescale.com>
This commit is contained in:
parent
a0b38b4e78
commit
1eb2819d69
1 changed files with 2 additions and 1 deletions
|
@ -1468,7 +1468,8 @@ void SoftwareEmulation(struct pt_regs *regs)
|
|||
|
||||
if (!user_mode(regs)) {
|
||||
debugger(regs);
|
||||
die("Kernel Mode Software FPU Emulation", regs, SIGFPE);
|
||||
die("Kernel Mode Unimplemented Instruction or SW FPU Emulation",
|
||||
regs, SIGFPE);
|
||||
}
|
||||
|
||||
if (!emulate_math(regs))
|
||||
|
|
Loading…
Reference in a new issue