projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1a4e46
)
[MIPS] Panic on fp exception in kernel mode.
author
Chris Dearman
<chris@mips.com>
Fri, 30 Jun 2006 22:35:28 +0000
(23:35 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Thu, 13 Jul 2006 20:26:03 +0000
(21:26 +0100)
There should never be a FP exception in kernel mode.
Signed-off-by: Chris Dearman <chris@mips.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/traps.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/kernel/traps.c
b/arch/mips/kernel/traps.c
index e262fb8330f41bf263b49ec53bdea3c5cc5126e1..954a198494efb4b0569c5636a415ac1c17da8373 100644
(file)
--- a/
arch/mips/kernel/traps.c
+++ b/
arch/mips/kernel/traps.c
@@
-569,6
+569,8
@@
asmlinkage void do_ov(struct pt_regs *regs)
*/
asmlinkage void do_fpe(struct pt_regs *regs, unsigned long fcr31)
{
+ die_if_kernel("FP exception in kernel code", regs);
+
if (fcr31 & FPU_CSR_UNI_X) {
int sig;