signal/mips: Remove FPE_FIXME usage from mips
Merge commit. Changes below are compared with the first parent: 8db6c34f.
Changes
2 files changed · +1 −8
| File | Status | Add | Del | Content |
|---|---|---|---|---|
| arch/mips/include/uapi/asm/siginfo.h | modified | +0 | −7 | View file |
| arch/mips/kernel/traps.c | modified | +1 | −1 | View file |
arch/mips/include/uapi/asm/siginfo.h
View filediff --git a/arch/mips/include/uapi/asm/siginfo.h b/arch/mips/include/uapi/asm/siginfo.h
index 22a86d8..cf6113b 100644
--- a/arch/mips/include/uapi/asm/siginfo.h
+++ b/arch/mips/include/uapi/asm/siginfo.h
@@ -123,11 +123,4 @@ typedef struct siginfo {
#define SI_TIMER -3 /* sent by timer expiration */
#define SI_MESGQ -4 /* sent by real time mesq state change */
-/*
- * SIGFPE si_codes
- */
-#ifdef __KERNEL__
-#define FPE_FIXME 0 /* Broken dup of SI_USER */
-#endif /* __KERNEL__ */
-
#endif /* _UAPI_ASM_SIGINFO_H */
arch/mips/kernel/traps.c
View filediff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c
index 6c9cca9..2bf4149 100644
--- a/arch/mips/kernel/traps.c
+++ b/arch/mips/kernel/traps.c
@@ -735,7 +735,7 @@ void force_fcr31_sig(unsigned long fcr31, void __user *fault_addr,
else if (fcr31 & FPU_CSR_INE_X)
si.si_code = FPE_FLTRES;
else
- si.si_code = FPE_FIXME;
+ return; /* Broken hardware? */
force_sig_info(SIGFPE, &si, tsk);
}