diff options
author | kato <kato@FreeBSD.org> | 2000-12-05 09:35:54 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 2000-12-05 09:35:54 +0000 |
commit | 8de42711fbf33998dad695f53370540971c0ba2d (patch) | |
tree | 9c524c21540d7ff9a85bf9a570d87e52a51bcbf0 /sys | |
parent | c4979e6a998823c7b36ed0e7c073df652a7afd15 (diff) | |
download | FreeBSD-src-8de42711fbf33998dad695f53370540971c0ba2d.zip FreeBSD-src-8de42711fbf33998dad695f53370540971c0ba2d.tar.gz |
Merged from sys/i386/isa/clock.c revision 1.164.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/pc98/cbus/clock.c | 5 | ||||
-rw-r--r-- | sys/pc98/cbus/pcrtc.c | 5 | ||||
-rw-r--r-- | sys/pc98/pc98/clock.c | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/sys/pc98/cbus/clock.c b/sys/pc98/cbus/clock.c index 421a9ec..303f38a 100644 --- a/sys/pc98/cbus/clock.c +++ b/sys/pc98/cbus/clock.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)); 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)); diff --git a/sys/pc98/pc98/clock.c b/sys/pc98/pc98/clock.c index 421a9ec..303f38a 100644 --- a/sys/pc98/pc98/clock.c +++ b/sys/pc98/pc98/clock.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)); |