diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-09-15 19:25:37 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-09-15 19:25:37 +0000 |
commit | ed39f38a9ab23e3d455f16b7c3154f69db4410b7 (patch) | |
tree | 7ea5b1694ab521822721fd64900014f32eb81fa4 /sys/arch | |
parent | d7ba03708b5290acbf53870184fb17818a3c3ca0 (diff) |
Make this compile if !MULTIPROCESSOR.
ok brad@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/amd64/amd64/mpbios.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/amd64/amd64/mpbios.c b/sys/arch/amd64/amd64/mpbios.c index c94c6b11741..bdc25a501d1 100644 --- a/sys/arch/amd64/amd64/mpbios.c +++ b/sys/arch/amd64/amd64/mpbios.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpbios.c,v 1.12 2008/06/26 05:42:09 ray Exp $ */ +/* $OpenBSD: mpbios.c,v 1.13 2008/09/15 19:24:47 kettenis Exp $ */ /* $NetBSD: mpbios.c,v 1.7 2003/05/15 16:32:50 fvdl Exp $ */ /*- @@ -675,7 +675,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 config_found_sm(self, &caa, mp_print, mp_match); } |