summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/clock.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-05-04 14:25:00 +0000
committerpeter <peter@FreeBSD.org>1997-05-04 14:25:00 +0000
commit359b54a79ae3c04f11eea4ca6c0d9e266bfa0f70 (patch)
treeaf820e2341f72ad1f76e73999a821e742eb4137b /sys/i386/include/clock.h
parent55da57aff19365952be428aec40790312aa67096 (diff)
downloadFreeBSD-src-359b54a79ae3c04f11eea4ca6c0d9e266bfa0f70.zip
FreeBSD-src-359b54a79ae3c04f11eea4ca6c0d9e266bfa0f70.tar.gz
Don't remove i586_ctr_freq from scope, leave it defined as zero. This
simplifies some assumptions and stops some code compile problems. This should fix the compile hiccup in PR#3491, but smp kernel profiling isn't likely to be fixed by this.
Diffstat (limited to 'sys/i386/include/clock.h')
-rw-r--r--sys/i386/include/clock.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/i386/include/clock.h b/sys/i386/include/clock.h
index df8a20c..1c3383d 100644
--- a/sys/i386/include/clock.h
+++ b/sys/i386/include/clock.h
@@ -3,7 +3,7 @@
* Garrett Wollman, September 1994.
* This file is in the public domain.
*
- * $Id: clock.h,v 1.24 1997/02/22 09:33:59 peter Exp $
+ * $Id: clock.h,v 1.25 1997/04/26 11:45:33 peter Exp $
*/
#ifndef _MACHINE_CLOCK_H_
@@ -28,12 +28,14 @@
*/
extern int adjkerntz;
extern int disable_rtc_set;
-#if (defined(I586_CPU) || defined(I686_CPU)) && !defined(SMP)
+#if defined(I586_CPU) || defined(I686_CPU)
+#if !defined(SMP)
extern u_int i586_ctr_bias;
extern u_int i586_ctr_comultiplier;
-extern u_int i586_ctr_freq;
extern u_int i586_ctr_multiplier;
#endif
+extern u_int i586_ctr_freq;
+#endif
extern int statclock_disable;
extern u_int timer_freq;
extern int timer0_max_count;
OpenPOWER on IntegriCloud