summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ac728587618..37e88e4ae66 100644
--- a/sys/arch/i386/i386/machdep.c
+++ b/sys/arch/i386/i386/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.254 2003/12/18 23:46:19 tedu Exp $ */
+/* $OpenBSD: machdep.c,v 1.255 2003/12/19 19:03:34 grange Exp $ */
/* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */
/*-
@@ -1627,7 +1627,10 @@ intel686_cpu_setup(cpu_device, model, step)
const char *cpu_device;
int model, step;
{
- extern int cpu_feature, cpu_ecxfeature, cpuid_level;
+ extern int cpu_feature, cpuid_level;
+#ifndef SMALL_KERNEL
+ extern int cpu_ecxfeature;
+#endif
u_quad_t msr119;
/*