summaryrefslogtreecommitdiffstats
path: root/sys/pc98/cbus/pcrtc.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-01-29 18:08:26 +0000
committerphk <phk@FreeBSD.org>2003-01-29 18:08:26 +0000
commit224d4fa7016e3053b02edc999bef91300ba90811 (patch)
tree943386692af945c523c89fd17ff7759cbefbedab /sys/pc98/cbus/pcrtc.c
parentd9bd56452d509a28ab6a2dbe1aaeefe4462b1601 (diff)
downloadFreeBSD-src-224d4fa7016e3053b02edc999bef91300ba90811.zip
FreeBSD-src-224d4fa7016e3053b02edc999bef91300ba90811.tar.gz
Make tsc_freq a 64bit on PC98 also.
Diffstat (limited to 'sys/pc98/cbus/pcrtc.c')
-rw-r--r--sys/pc98/cbus/pcrtc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/pc98/cbus/pcrtc.c b/sys/pc98/cbus/pcrtc.c
index 31b8188..d8833dc 100644
--- a/sys/pc98/cbus/pcrtc.c
+++ b/sys/pc98/cbus/pcrtc.c
@@ -57,6 +57,7 @@
#include "opt_mca.h"
#include <sys/param.h>
+#include <sys/stdint.h>
#include <sys/systm.h>
#include <sys/bus.h>
#include <sys/lock.h>
@@ -149,7 +150,7 @@ int statclock_disable;
#endif
u_int timer_freq = TIMER_FREQ;
int timer0_max_count;
-u_int tsc_freq;
+uint64_t tsc_freq;
int tsc_is_broken;
u_int tsc_present;
int wall_cmos_clock; /* wall CMOS clock assumed if != 0 */
@@ -749,7 +750,7 @@ calibrate_clocks(void)
if (bootverbose) {
if (tsc_present)
- printf("TSC clock: %u Hz, ", tsc_freq);
+ printf("TSC clock: %ju Hz, ", (intmax_t)tsc_freq);
printf("i8254 clock: %u Hz\n", tot_count);
}
return (tot_count);
OpenPOWER on IntegriCloud