aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/m68k/math-emu/fp_arith.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/math-emu/fp_arith.c b/arch/m68k/math-emu/fp_arith.c
index 08f286db3c5a..239eb1990184 100644
--- a/arch/m68k/math-emu/fp_arith.c
+++ b/arch/m68k/math-emu/fp_arith.c
@@ -519,7 +519,7 @@ static void fp_roundint(struct fp_ext *dest, int mode)
519 return; 519 return;
520 break; 520 break;
521 case 0x401e: 521 case 0x401e:
522 if (!(oldmant.m32[1] >= 0)) 522 if (oldmant.m32[1] & 0x80000000)
523 return; 523 return;
524 if (oldmant.m32[0] & 1) 524 if (oldmant.m32[0] & 1)
525 break; 525 break;