diff options
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); } |