From: tholo Date: Mon, 9 Sep 1996 04:35:22 +0000 (+0000) Subject: Don't be uncertain about wether clock interrupts were meant for us X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9d6deae8caad14bde8e37f084f13a5e15d53753d;p=openbsd Don't be uncertain about wether clock interrupts were meant for us --- diff --git a/sys/arch/i386/isa/clock.c b/sys/arch/i386/isa/clock.c index ed748c2ab6f..571033ee4a5 100644 --- a/sys/arch/i386/isa/clock.c +++ b/sys/arch/i386/isa/clock.c @@ -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; }