summaryrefslogtreecommitdiffstats
path: root/sys/pc98/cbus/pcrtc.c
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>2000-12-05 09:35:54 +0000
committerkato <kato@FreeBSD.org>2000-12-05 09:35:54 +0000
commit8de42711fbf33998dad695f53370540971c0ba2d (patch)
tree9c524c21540d7ff9a85bf9a570d87e52a51bcbf0 /sys/pc98/cbus/pcrtc.c
parentc4979e6a998823c7b36ed0e7c073df652a7afd15 (diff)
downloadFreeBSD-src-8de42711fbf33998dad695f53370540971c0ba2d.zip
FreeBSD-src-8de42711fbf33998dad695f53370540971c0ba2d.tar.gz
Merged from sys/i386/isa/clock.c revision 1.164.
Diffstat (limited to 'sys/pc98/cbus/pcrtc.c')
-rw-r--r--sys/pc98/cbus/pcrtc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/pc98/cbus/pcrtc.c b/sys/pc98/cbus/pcrtc.c
index 421a9ec..303f38a 100644
--- a/sys/pc98/cbus/pcrtc.c
+++ b/sys/pc98/cbus/pcrtc.c
@@ -194,7 +194,12 @@ static void rtc_serialcom __P((int));
static int rtc_inb __P((void));
static void rtc_outb __P((int));
#endif
+#if defined(I386_CPU) || defined(I486_CPU)
+ u_int tsc_present; /* Not static; other parts of the kernel
+ * Need to know this */
+#else
static u_int tsc_present;
+#endif
static unsigned i8254_get_timecount __P((struct timecounter *tc));
static unsigned tsc_get_timecount __P((struct timecounter *tc));
OpenPOWER on IntegriCloud