diff options
author | kato <kato@FreeBSD.org> | 1999-04-28 08:06:00 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1999-04-28 08:06:00 +0000 |
commit | 3c0ac2ab1f7ae955a7a0bbceb994719158564829 (patch) | |
tree | 36de88ac00919d4e0043bd04c8a12824b6750dc5 /sys | |
parent | 0c9ccf1299308ee557ba47fc1681d54c007d3299 (diff) | |
download | FreeBSD-src-3c0ac2ab1f7ae955a7a0bbceb994719158564829.zip FreeBSD-src-3c0ac2ab1f7ae955a7a0bbceb994719158564829.tar.gz |
Sync with sys/i386/isa/clock.c revision 1.132.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/pc98/cbus/clock.c | 4 | ||||
-rw-r--r-- | sys/pc98/cbus/pcrtc.c | 4 | ||||
-rw-r--r-- | sys/pc98/pc98/clock.c | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/sys/pc98/cbus/clock.c b/sys/pc98/cbus/clock.c index 51879cf..33a31b0 100644 --- a/sys/pc98/cbus/clock.c +++ b/sys/pc98/cbus/clock.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)clock.c 7.2 (Berkeley) 5/12/91 - * $Id: clock.c,v 1.66 1999/01/28 11:36:22 kato Exp $ + * $Id: clock.c,v 1.67 1999/04/21 12:14:37 kato Exp $ */ /* @@ -1466,6 +1466,7 @@ sysctl_machdep_i8254_freq SYSCTL_HANDLER_ARGS return (EBUSY); /* too much trouble to handle */ set_timer_freq(freq, hz); i8254_timecounter.tc_frequency = freq; + update_timecounter(&i8254_timecounter); } return (error); } @@ -1486,6 +1487,7 @@ sysctl_machdep_tsc_freq SYSCTL_HANDLER_ARGS if (error == 0 && req->newptr != NULL) { tsc_freq = freq; tsc_timecounter.tc_frequency = tsc_freq; + update_timecounter(&tsc_timecounter); } return (error); } diff --git a/sys/pc98/cbus/pcrtc.c b/sys/pc98/cbus/pcrtc.c index 51879cf..33a31b0 100644 --- a/sys/pc98/cbus/pcrtc.c +++ b/sys/pc98/cbus/pcrtc.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)clock.c 7.2 (Berkeley) 5/12/91 - * $Id: clock.c,v 1.66 1999/01/28 11:36:22 kato Exp $ + * $Id: clock.c,v 1.67 1999/04/21 12:14:37 kato Exp $ */ /* @@ -1466,6 +1466,7 @@ sysctl_machdep_i8254_freq SYSCTL_HANDLER_ARGS return (EBUSY); /* too much trouble to handle */ set_timer_freq(freq, hz); i8254_timecounter.tc_frequency = freq; + update_timecounter(&i8254_timecounter); } return (error); } @@ -1486,6 +1487,7 @@ sysctl_machdep_tsc_freq SYSCTL_HANDLER_ARGS if (error == 0 && req->newptr != NULL) { tsc_freq = freq; tsc_timecounter.tc_frequency = tsc_freq; + update_timecounter(&tsc_timecounter); } return (error); } diff --git a/sys/pc98/pc98/clock.c b/sys/pc98/pc98/clock.c index 51879cf..33a31b0 100644 --- a/sys/pc98/pc98/clock.c +++ b/sys/pc98/pc98/clock.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)clock.c 7.2 (Berkeley) 5/12/91 - * $Id: clock.c,v 1.66 1999/01/28 11:36:22 kato Exp $ + * $Id: clock.c,v 1.67 1999/04/21 12:14:37 kato Exp $ */ /* @@ -1466,6 +1466,7 @@ sysctl_machdep_i8254_freq SYSCTL_HANDLER_ARGS return (EBUSY); /* too much trouble to handle */ set_timer_freq(freq, hz); i8254_timecounter.tc_frequency = freq; + update_timecounter(&i8254_timecounter); } return (error); } @@ -1486,6 +1487,7 @@ sysctl_machdep_tsc_freq SYSCTL_HANDLER_ARGS if (error == 0 && req->newptr != NULL) { tsc_freq = freq; tsc_timecounter.tc_frequency = tsc_freq; + update_timecounter(&tsc_timecounter); } return (error); } |