summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/tsc.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-04-28 01:37:44 +0000
committerjhb <jhb@FreeBSD.org>2001-04-28 01:37:44 +0000
commit82ea013b774b829a95e83c14968083d999759322 (patch)
tree5f26ec2c860c30dcf9ed5a10a371b576fbec3589 /sys/amd64/amd64/tsc.c
parentc58782ad2817eed6d6fdd078b9a4916b9a29f4a5 (diff)
downloadFreeBSD-src-82ea013b774b829a95e83c14968083d999759322.zip
FreeBSD-src-82ea013b774b829a95e83c14968083d999759322.tar.gz
Add in a missing call to forward_hardclock() in the SMP case.
Submitted by: bde
Diffstat (limited to 'sys/amd64/amd64/tsc.c')
-rw-r--r--sys/amd64/amd64/tsc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/amd64/amd64/tsc.c b/sys/amd64/amd64/tsc.c
index ce67390..ff16f19 100644
--- a/sys/amd64/amd64/tsc.c
+++ b/sys/amd64/amd64/tsc.c
@@ -225,6 +225,9 @@ clkintr(struct clockframe frame)
>= hardclock_max_count) {
timer0_prescaler_count -= hardclock_max_count;
hardclock(&frame);
+#ifdef SMP
+ forward_hardclock();
+#endif
}
break;
OpenPOWER on IntegriCloud