summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2008-03-26 13:25:27 +0000
committerphk <phk@FreeBSD.org>2008-03-26 13:25:27 +0000
commit44bfb30efdba0d9e7610adc1f78c743a11e6e49d (patch)
tree029f3f74cc9c75264d9234377a8db078d9759cb6 /sys/amd64
parent6f9c1b7d4776925aa7a6446151e8f9c1ffd6119f (diff)
downloadFreeBSD-src-44bfb30efdba0d9e7610adc1f78c743a11e6e49d.zip
FreeBSD-src-44bfb30efdba0d9e7610adc1f78c743a11e6e49d.tar.gz
The RTC related pscnt and psdiv variables have no business being public.
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/include/clock.h2
-rw-r--r--sys/amd64/isa/clock.c4
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/amd64/include/clock.h b/sys/amd64/include/clock.h
index 9a6876e..93e1449 100644
--- a/sys/amd64/include/clock.h
+++ b/sys/amd64/include/clock.h
@@ -15,8 +15,6 @@
* XXX large parts of the driver and its interface are misplaced.
*/
extern int clkintr_pending;
-extern int pscnt;
-extern int psdiv;
extern int statclock_disable;
extern u_int timer_freq;
extern int timer0_max_count;
diff --git a/sys/amd64/isa/clock.c b/sys/amd64/isa/clock.c
index 3275267..64d2208 100644
--- a/sys/amd64/isa/clock.c
+++ b/sys/amd64/isa/clock.c
@@ -97,8 +97,8 @@ __FBSDID("$FreeBSD$");
#define TIMER_DIV(x) ((timer_freq + (x) / 2) / (x))
int clkintr_pending;
-int pscnt = 1;
-int psdiv = 1;
+static int pscnt = 1;
+static int psdiv = 1;
int statclock_disable;
#ifndef TIMER_FREQ
#define TIMER_FREQ 1193182
OpenPOWER on IntegriCloud