summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-12-17 09:11:09 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-12-17 09:11:09 +0000
commitd9395b4355d55913b90dbba8a49170f8de8c3af0 (patch)
tree8ac5983f9f03ac75170ce6be6922acee6b7ba990 /sys
parente272e9e10b79857e7dc7b9c031adea905ba93e6d (diff)
I586_CPU -> I586_CPU || I686_CPU
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/isa/clock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/isa/clock.c b/sys/arch/i386/isa/clock.c
index fac9590dea0..e76195b349f 100644
--- a/sys/arch/i386/isa/clock.c
+++ b/sys/arch/i386/isa/clock.c
@@ -122,7 +122,7 @@ int rtcintr __P((void *));
__inline u_int mc146818_read __P((void *, u_int));
__inline void mc146818_write __P((void *, u_int, u_int));
-#ifdef I586_CPU
+#if defined(I586_CPU) || defined(I686_CPU)
int pentium_mhz;
#endif
@@ -344,7 +344,7 @@ findcpuspeed()
delaycount = (FIRST_GUESS * TIMER_DIV(1000)) / (0xffff-remainder);
}
-#ifdef I586_CPU
+#if defined(I586_CPU) || defined(I686_CPU)
void
calibrate_cyclecounter()
{