summaryrefslogtreecommitdiff
path: root/arch/mips/math-emu/dp_sqrt.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2014-04-30 01:17:19 +0200
committerRalf Baechle <ralf@linux-mips.org>2014-05-23 15:12:37 +0200
commitaef3fb76aa1390ef864db888d06d8fcd5510df2d (patch)
tree578bee5fd283d8b427eba892ef2af8aca3accf98 /arch/mips/math-emu/dp_sqrt.c
parent76fbfc318de2eb0eb4823095ece020f999a17c63 (diff)
MIPS: math-emu: Nuke alternative names for IEEE-754 rounding modes.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/math-emu/dp_sqrt.c')
-rw-r--r--arch/mips/math-emu/dp_sqrt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/math-emu/dp_sqrt.c b/arch/mips/math-emu/dp_sqrt.c
index 109878a57f12..0384c094b1aa 100644
--- a/arch/mips/math-emu/dp_sqrt.c
+++ b/arch/mips/math-emu/dp_sqrt.c
@@ -139,7 +139,7 @@ union ieee754dp ieee754dp_sqrt(union ieee754dp x)
oldcsr.sx |= IEEE754_INEXACT;
switch (oldcsr.rm) {
- case IEEE754_RP:
+ case IEEE754_RU:
y.bits += 1;
/* drop through */
case IEEE754_RN: