summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpi_timer.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/dev/acpica/acpi_timer.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/dev/acpica/acpi_timer.c')
-rw-r--r--sys/dev/acpica/acpi_timer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi_timer.c b/sys/dev/acpica/acpi_timer.c
index e9c47fa..8887f13 100644
--- a/sys/dev/acpica/acpi_timer.c
+++ b/sys/dev/acpica/acpi_timer.c
@@ -248,7 +248,6 @@ acpi_timer_sysctl_freq(SYSCTL_HANDLER_ARGS)
if (error == 0 && req->newptr != NULL) {
acpi_timer_frequency = freq;
acpi_timer_timecounter.tc_frequency = acpi_timer_frequency;
- tc_update(&acpi_timer_timecounter);
}
return (error);
}
OpenPOWER on IntegriCloud