aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2005-03-11 21:57:38 +0000
committerPeter Wemm <peter@FreeBSD.org>2005-03-11 21:57:38 +0000
commit8e93ce1a1bd4875f049e8bdcc553620a49c937fa (patch)
treef7b5a74203c5878addbabb16fb865b5e05062848 /sys
parent639ac97a88b0ded44021a0b3c69cd659b8306cc0 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/isa/clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/isa/clock.c b/sys/amd64/isa/clock.c
index d4bf5765dfcb2..a2f3e2f9127a9 100644
--- a/sys/amd64/isa/clock.c
+++ b/sys/amd64/isa/clock.c
@@ -829,7 +829,7 @@ i8254_get_timecount(struct timecounter *tc)
if (count < i8254_lastcount ||
(!i8254_ticked && (clkintr_pending ||
((count < 20 || (!(rflags & PSL_I) && count < timer0_max_count / 2u)) &&
- i8254_intsrc != NULL && i8254_pending(i8254_intsrc))))) {
+ i8254_pending != NULL && i8254_pending(i8254_intsrc))))) {
i8254_ticked = 1;
i8254_offset += timer0_max_count;
}