summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1998-03-01 11:25:29 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1998-03-01 11:25:29 +0000
commite7d453379447ac233df4d3bf297bce631de1ba92 (patch)
treecb417fb01f555a50f360cf3e84e6f848fde8c3e9
parent9221cc9d62560c0c866321f3c91d5e9579a0386d (diff)
Conditionalize decl
-rw-r--r--sys/arch/i386/i386/machdep.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c
index ed81af25398..5ba73ce47dc 100644
--- a/sys/arch/i386/i386/machdep.c
+++ b/sys/arch/i386/i386/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.82 1998/02/26 20:53:24 weingart Exp $ */
+/* $OpenBSD: machdep.c,v 1.83 1998/03/01 11:25:28 niklas Exp $ */
/* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */
/*-
@@ -746,7 +746,10 @@ void
identifycpu()
{
extern char cpu_vendor[];
- extern int cpu_id, cpu_feature;
+ extern int cpu_id;
+#if defined(I586_CPU) || defined(I686_CPU)
+ extern int cpu_feature;
+#endif
const char *name, *modifier, *vendorname;
const char *cpu_device = "cpu0";
int class = CPUCLASS_386, vendor, i, max;