summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include/cpu.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-08-02 14:10:00 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-08-02 14:10:00 +0000
commit3c2a2dbe0affed20514d2e380c5eb249f52453c7 (patch)
tree8ab0cb2db0466640bda75b6b1789e9042b1c0368 /sys/arch/i386/include/cpu.h
parent7232fccdfc7da2c27c4357437841fd7a413375b2 (diff)
permit build with HZ user-defined; <wd@ics.nara-wu.ac.jp
Diffstat (limited to 'sys/arch/i386/include/cpu.h')
-rw-r--r--sys/arch/i386/include/cpu.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/i386/include/cpu.h b/sys/arch/i386/include/cpu.h
index f8629354873..f8590e25c2c 100644
--- a/sys/arch/i386/include/cpu.h
+++ b/sys/arch/i386/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.30 2000/06/05 12:43:30 art Exp $ */
+/* $OpenBSD: cpu.h,v 1.31 2000/08/02 14:09:59 deraadt Exp $ */
/* $NetBSD: cpu.h,v 1.35 1996/05/05 19:29:26 christos Exp $ */
/*-
@@ -100,6 +100,7 @@ void delay __P((int));
* High resolution clock support (Pentium only)
*/
void calibrate_cyclecounter __P((void));
+#ifndef HZ
extern u_quad_t pentium_base_tsc;
#define CPU_CLOCKUPDATE(otime, ntime) \
do { \
@@ -121,6 +122,7 @@ extern u_quad_t pentium_base_tsc;
} \
} while (0)
#endif
+#endif
void delay __P((int));
/*