summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2000-09-22 08:01:00 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2000-09-22 08:01:00 +0000
commit5b841a70a3186dd9ae2e561500148b9fd5920019 (patch)
tree2677f4d28b9e45891b7b20d6259e68e989362f1a /sys
parente163d357f5035044af23ce6d7fce2a9776aab20d (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_clock.c4
-rw-r--r--sys/sys/dkstat.h1
2 files changed, 1 insertions, 4 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c
index f6bead6d605e..225047e3a3c3 100644
--- a/sys/kern/kern_clock.c
+++ b/sys/kern/kern_clock.c
@@ -86,11 +86,7 @@ static void tco_setscales __P((struct timecounter *tc));
static __inline unsigned tco_delta __P((struct timecounter *tc));
/* Some of these don't belong here, but it's easiest to concentrate them. */
-#if defined(SMP) && defined(BETTER_CLOCK)
long cp_time[CPUSTATES];
-#else
-static long cp_time[CPUSTATES];
-#endif
long tk_cancc;
long tk_nin;
diff --git a/sys/sys/dkstat.h b/sys/sys/dkstat.h
index 760219c190ef..f556ff28afbc 100644
--- a/sys/sys/dkstat.h
+++ b/sys/sys/dkstat.h
@@ -51,6 +51,7 @@
#ifdef _KERNEL
+extern long cp_time[CPUSTATES];
extern long tk_cancc;
extern long tk_nin;
extern long tk_nout;