diff options
author | phk <phk@FreeBSD.org> | 2002-04-26 10:06:26 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-04-26 10:06:26 +0000 |
commit | f227fb83e6d8ddf01849281a0a522536dc1dfb51 (patch) | |
tree | 214ac70ec7fa6c60294dd8b8538f658c6b06334b /sys/amd64/isa/clock.c | |
parent | 895107253f709e379e3c599f26b22b83043f50f4 (diff) | |
download | FreeBSD-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/amd64/isa/clock.c')
-rw-r--r-- | sys/amd64/isa/clock.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/amd64/isa/clock.c b/sys/amd64/isa/clock.c index 810fbe7..560da54 100644 --- a/sys/amd64/isa/clock.c +++ b/sys/amd64/isa/clock.c @@ -1204,7 +1204,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); } @@ -1225,7 +1224,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); } |