From faff50d1f20f5df15ff00d40a9873bbd1de59bde Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Tue, 16 Sep 2008 20:02:48 +0000 Subject: Make this compile if !MULTIPROCESSOR. ok kettenis@ --- sys/arch/i386/i386/mpbios.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/arch') 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; -- cgit v1.2.3