]> git.hungrycats.org Git - linux/commitdiff
[PATCH] boolean logic error in fpu emulation.
authorDave Jones <davej@redhat.com>
Wed, 13 Aug 2003 16:10:31 +0000 (09:10 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 13 Aug 2003 16:10:31 +0000 (09:10 -0700)
arch/i386/math-emu/fpu_trig.c

index f6ceae26cf8d4b1b3ad04d1319baf24878baad5e..403cbde1d4251a1ae2c5b4e5444fb81addd60dcb 100644 (file)
@@ -1058,7 +1058,7 @@ static void do_fprem(FPU_REG *st0_ptr, u_char st0_tag, int round)
        return;
       goto fprem_valid;
     }
-  else if ( (st0_tag == TAG_Empty) | (st1_tag == TAG_Empty) )
+  else if ( (st0_tag == TAG_Empty) || (st1_tag == TAG_Empty) )
     {
       FPU_stack_underflow();
       return;