summaryrefslogtreecommitdiff
path: root/sys/arch/i386/i386/machdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/i386/machdep.c')
-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;