summaryrefslogtreecommitdiffstats
path: root/arch/m68k/math-emu/fp_arith.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-07-03 11:11:23 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-03 11:11:23 -0700
commit0e97456ab5ba2761892d9e67b7e3b0cac262141c (patch)
tree440d4a2ad18ceae512876aee24866a12ee2ea626 /arch/m68k/math-emu/fp_arith.c
parent76d3f4c27d3c2c85e5cfe731537b6929145bf652 (diff)
parent980f3a7315b4691ec90538352a9e9c5a53ea9d34 (diff)
downloadlinux-0e97456ab5ba2761892d9e67b7e3b0cac262141c.tar.bz2
Merge branch 'for-3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k
Pull m68k updates from Geert Uytterhoeven. * 'for-3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k: m68k/q40: Enable PC parallel port in defconfig m68k/q40: Undefine insl/outsl before redefining them m68k/uaccess: Fix asm constraints for userspace access swim: Release memory region after incorrect return/goto m68k/irq: Vector ints need a valid interrupt handler m68k/math-emu: unsigned issue, 'unsigned long' will never be less than zero m68k: remove CONFIG_EARLY_PRINTK dependency on CONFIG_EMBEDDED, default to n m68k/sun3: remove inline marking of EXPORT_SYMBOL functions [SCSI] a3000: use module_platform_driver_probe() [SCSI] a4000t: use module_platform_driver_probe() m68k: Remove inline strcpy() and strcat() implementations
Diffstat (limited to 'arch/m68k/math-emu/fp_arith.c')
-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)
return;
break;
case 0x401e:
- if (!(oldmant.m32[1] >= 0))
+ if (oldmant.m32[1] & 0x80000000)
return;
if (oldmant.m32[0] & 1)
break;