summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2003-12-19 19:03:35 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2003-12-19 19:03:35 +0000
commitc46fc92d8b5944bf082f156a6f662f4fd541e73f (patch)
tree4ace0428c0aac20a6addbb7f611d87d532c8546a /sys
parentaa5ea2b05505c09473e7ea94036b66a304a79fe7 (diff)
Unbreak ramdisk kernel after tedu's changes.
ok deraadt@
Diffstat (limited to 'sys')
-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;
/*