diff options
author | 1996-09-09 04:35:22 +0000 | |
---|---|---|
committer | 1996-09-09 04:35:22 +0000 | |
commit | 9d6deae8caad14bde8e37f084f13a5e15d53753d (patch) | |
tree | 3418ef45e65e7f0d1fe4adfef65fe9d1cc25ad22 | |
parent | Add seperate profiling/statistics clock running at 1024/128 Hz, using the (diff) | |
download | wireguard-openbsd-9d6deae8caad14bde8e37f084f13a5e15d53753d.tar.xz wireguard-openbsd-9d6deae8caad14bde8e37f084f13a5e15d53753d.zip |
Don't be uncertain about wether clock interrupts were meant for us
-rw-r--r-- | sys/arch/i386/isa/clock.c | 4 |
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; } |