summaryrefslogtreecommitdiffstats
path: root/sys/pc98/cbus/pcrtc.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-04-26 10:06:26 +0000
committerphk <phk@FreeBSD.org>2002-04-26 10:06:26 +0000
commitf227fb83e6d8ddf01849281a0a522536dc1dfb51 (patch)
tree214ac70ec7fa6c60294dd8b8538f658c6b06334b /sys/pc98/cbus/pcrtc.c
parent895107253f709e379e3c599f26b22b83043f50f4 (diff)
downloadFreeBSD-src-f227fb83e6d8ddf01849281a0a522536dc1dfb51.zip
FreeBSD-src-f227fb83e6d8ddf01849281a0a522536dc1dfb51.tar.gz
Remove the tc_update() function. Any frequency change to the
timecounter will be used starting at the next second, which is good enough for sysctl purposes. If better adjustment is needed the NTP PLL should be used.
Diffstat (limited to 'sys/pc98/cbus/pcrtc.c')
-rw-r--r--sys/pc98/cbus/pcrtc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/pc98/cbus/pcrtc.c b/sys/pc98/cbus/pcrtc.c
index b70465a..9284362 100644
--- a/sys/pc98/cbus/pcrtc.c
+++ b/sys/pc98/cbus/pcrtc.c
@@ -1554,7 +1554,6 @@ sysctl_machdep_i8254_freq(SYSCTL_HANDLER_ARGS)
return (EBUSY); /* too much trouble to handle */
set_timer_freq(freq, hz);
i8254_timecounter.tc_frequency = freq;
- tc_update(&i8254_timecounter);
}
return (error);
}
@@ -1575,7 +1574,6 @@ sysctl_machdep_tsc_freq(SYSCTL_HANDLER_ARGS)
if (error == 0 && req->newptr != NULL) {
tsc_freq = freq;
tsc_timecounter.tc_frequency = tsc_freq;
- tc_update(&tsc_timecounter);
}
return (error);
}
OpenPOWER on IntegriCloud