summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/clock.c
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2000-12-02 17:59:41 +0000
committermarkm <markm@FreeBSD.org>2000-12-02 17:59:41 +0000
commitf0aab59cddec09534e99a0c3d509496ca482d210 (patch)
tree26c93e19091a369bb1e60f4c6ac5efbcdd06f056 /sys/i386/isa/clock.c
parent5a9b5f7c13b9e66c51e945e9e98f9e3163445047 (diff)
downloadFreeBSD-src-f0aab59cddec09534e99a0c3d509496ca482d210.zip
FreeBSD-src-f0aab59cddec09534e99a0c3d509496ca482d210.tar.gz
Namespace cleanup. Remove some #includes in favour of an explicit
declaration. Asked for by: bde
Diffstat (limited to 'sys/i386/isa/clock.c')
-rw-r--r--sys/i386/isa/clock.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/i386/isa/clock.c b/sys/i386/isa/clock.c
index 1ad7bf4..aafa821 100644
--- a/sys/i386/isa/clock.c
+++ b/sys/i386/isa/clock.c
@@ -169,7 +169,12 @@ static u_int timer0_prescaler_count;
static u_char timer0_state;
static u_char timer2_state;
static void (*timer_func) __P((struct clockframe *frame)) = hardclock;
+#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