Don't be uncertain about wether clock interrupts were meant for us
authortholo <tholo@openbsd.org>
Mon, 9 Sep 1996 04:35:22 +0000 (04:35 +0000)
committertholo <tholo@openbsd.org>
Mon, 9 Sep 1996 04:35:22 +0000 (04:35 +0000)
sys/arch/i386/isa/clock.c

index ed748c2..571033e 100644 (file)
@@ -178,7 +178,7 @@ clockintr(arg)
        struct clockframe *frame = arg;         /* not strictly necessary */
 
        hardclock(frame);
-       return -1;
+       return 1;
 }
 
 int
@@ -191,7 +191,7 @@ rtcintr(arg)
        stat = mc146818_read(NULL, MC_REGC);
        if (stat & MC_REGC_PF) {
                statclock(frame);
-               return -1;
+               return 1;
        }
        return 0;
 }