summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-09-09 04:35:23 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-09-09 04:35:23 +0000
commitce6ff91a0ddee5fe98bd9b074466d234aaf52d48 (patch)
tree78bd12b98418899f537bc3c4906ffdc6af9ac54b /sys/arch
parent7392d7a58d9a4d8d21ebd4e01aab4ed2b296a148 (diff)
Don't be uncertain about wether clock interrupts were meant for us
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/isa/clock.c4
1 files changed, 2 insertions, 2 deletions
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;
}