summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2015-04-03 22:25:14 (GMT)
committerRalf Baechle <ralf@linux-mips.org>2015-04-07 23:09:20 (GMT)
commit1f6d2c29b08bbd29a3d3b8476e9a26546e03104e (patch)
tree5ad47f59ed30972d70b1dcaf5a7a4b89454462ae /arch/mips
parent27e28e8ec47a5ce335ebf25d34ca356c80635908 (diff)
downloadlinux-1f6d2c29b08bbd29a3d3b8476e9a26546e03104e.tar.xz
MIPS: Use `FPU_CSR_ALL_X' in `__build_clear_fpe'
Replace a hardcoded numeric bitmask for FCSR cause bits with `FPU_CSR_ALL_X' in `__build_clear_fpe'. Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9684/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/kernel/genex.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/genex.S b/arch/mips/kernel/genex.S
index 2ebaabe..07c4a25 100644
--- a/arch/mips/kernel/genex.S
+++ b/arch/mips/kernel/genex.S
@@ -360,7 +360,7 @@ NESTED(nmi_handler, PT_SIZE, sp)
.set mips1
SET_HARDFLOAT
cfc1 a1, fcr31
- li a2, ~(0x3f << 12)
+ li a2, ~FPU_CSR_ALL_X
and a2, a1
ctc1 a2, fcr31
.set pop