Don't push _cpl before calling _npxintr, it is never used (or popped off
authortholo <tholo@openbsd.org>
Wed, 5 Feb 1997 04:12:44 +0000 (04:12 +0000)
committertholo <tholo@openbsd.org>
Wed, 5 Feb 1997 04:12:44 +0000 (04:12 +0000)
the stack!)

sys/arch/i386/i386/locore.s

index ef16753..74f8738 100644 (file)
@@ -2036,7 +2036,9 @@ IDTVEC(fpu)
        pushl   $0                      # dummy error code
        pushl   $T_ASTFLT
        INTRENTRY
-       pushl   _cpl
+#if 0
+       pushl   _cpl                    # this is apparently not used for anything
+#endif
        pushl   %esp
        incl    _cnt+V_TRAP
        call    _npxintr