projects
/
GitHub
/
moto-9609
/
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:
7aacf86
)
MIPS: signal: Remove unreachable code from force_fcr31_sig().
author
Ralf Baechle
<ralf@linux-mips.org>
Mon, 7 Aug 2017 19:14:18 +0000
(21:14 +0200)
committer
Ralf Baechle
<ralf@linux-mips.org>
Tue, 29 Aug 2017 13:21:52 +0000
(15:21 +0200)
Based on discussion with Linus remove the impossible to reach code
rather than replacing it with a BUG().
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Link:
http://lkml.kernel.org/r/20170718140651.15973-4-ebiederm@xmission.com
arch/mips/kernel/traps.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/kernel/traps.c
b/arch/mips/kernel/traps.c
index b52a785477f918d2e64de0f3d57abe4e03a16532..f3a69de9dc6be765ae9bd32c6ee03f018d414d8a 100644
(file)
--- a/
arch/mips/kernel/traps.c
+++ b/
arch/mips/kernel/traps.c
@@
-734,8
+734,7
@@
void force_fcr31_sig(unsigned long fcr31, void __user *fault_addr,
si.si_code = FPE_FLTUND;
else if (fcr31 & FPU_CSR_INE_X)
si.si_code = FPE_FLTRES;
- else
- si.si_code = __SI_FAULT;
+
force_sig_info(SIGFPE, &si, tsk);
}