summaryrefslogtreecommitdiffstats
path: root/arch/mips/math-emu
diff options
context:
space:
mode:
authorRalf Baechle2014-04-22 16:02:03 +0200
committerRalf Baechle2014-05-23 15:11:13 +0200
commit3e160aad0f23cc80743dd44810269c9667e0eb0e (patch)
treeb7eb815eacfd4213f1385e984fbf834e5fe9696f /arch/mips/math-emu
parentMIPS: math-emu: Replace DP_MBITS with DP_FBITS and SP_MBITS with SP_FBITS. (diff)
downloadkernel-qcow2-linux-3e160aad0f23cc80743dd44810269c9667e0eb0e.tar.gz
kernel-qcow2-linux-3e160aad0f23cc80743dd44810269c9667e0eb0e.tar.xz
kernel-qcow2-linux-3e160aad0f23cc80743dd44810269c9667e0eb0e.zip
MIPS: math-emu: Use SPSIGN() rather than DPSIGN() in ieee754sp_sub().
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/math-emu')
-rw-r--r--arch/mips/math-emu/sp_sub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/math-emu/sp_sub.c b/arch/mips/math-emu/sp_sub.c
index 1131065d0178..828de931690c 100644
--- a/arch/mips/math-emu/sp_sub.c
+++ b/arch/mips/math-emu/sp_sub.c
@@ -104,7 +104,7 @@ union ieee754sp ieee754sp_sub(union ieee754sp x, union ieee754sp y)
case CLPAIR(IEEE754_CLASS_ZERO, IEEE754_CLASS_NORM):
case CLPAIR(IEEE754_CLASS_ZERO, IEEE754_CLASS_DNORM):
/* quick fix up */
- DPSIGN(y) ^= 1;
+ SPSIGN(y) ^= 1;
return y;
case CLPAIR(IEEE754_CLASS_DNORM, IEEE754_CLASS_DNORM):