summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2008-09-16 20:02:48 +0000
committerBrad Smith <brad@cvs.openbsd.org>2008-09-16 20:02:48 +0000
commitfaff50d1f20f5df15ff00d40a9873bbd1de59bde (patch)
treeef1b00d0f48a76a94f1d99a3f8e5eb2890db7b79 /sys/arch
parente4f59a8a37c28c3de3c481cf0a3cbf79c557b5b7 (diff)
Make this compile if !MULTIPROCESSOR.
ok kettenis@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/i386/mpbios.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/mpbios.c b/sys/arch/i386/i386/mpbios.c
index 80b953e0f1c..d4663ff89bb 100644
--- a/sys/arch/i386/i386/mpbios.c
+++ b/sys/arch/i386/i386/mpbios.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpbios.c,v 1.24 2008/06/26 05:42:10 ray Exp $ */
+/* $OpenBSD: mpbios.c,v 1.25 2008/09/16 20:02:47 brad Exp $ */
/* $NetBSD: mpbios.c,v 1.2 2002/10/01 12:56:57 fvdl Exp $ */
/*-
@@ -721,7 +721,9 @@ mpbios_cpu(const u_int8_t *ent, struct device *self)
caa.caa_name = "cpu";
caa.cpu_number = entry->apic_id;
+#ifdef MULTIPROCESSOR
caa.cpu_func = &mp_cpu_funcs;
+#endif
#if 1 /* XXX Will be removed when the real stuff is probed */
caa.cpu_signature = entry->cpu_signature;