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:
27e28e8
)
MIPS: Use `FPU_CSR_ALL_X' in `__build_clear_fpe'
author
Maciej W. Rozycki
<macro@linux-mips.org>
Fri, 3 Apr 2015 22:25:14 +0000
(23:25 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Tue, 7 Apr 2015 23:09:20 +0000
(
01:09
+0200)
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>
arch/mips/kernel/genex.S
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/kernel/genex.S
b/arch/mips/kernel/genex.S
index 2ebaabe3af1513269e100d8bcffa9e8e9cb1f2c8..07c4a25b16eac6a5945393892d45446c102997da 100644
(file)
--- 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