From 45812e0f976ce4fd4915dda57316808d8bb5f23e Mon Sep 17 00:00:00 2001 From: gibbs Date: Fri, 20 Sep 2013 04:35:09 +0000 Subject: sys/i386/xen/mp_machdep.c: sys/i386/xen/mptable.c: Set PCPU apic_id and acpi_id fields in a fasion compatible with both UP and SMP configurations. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Suggested by: jhb Submitted by: Roger Pau Monné Sponsored by: Citrix Systems R&D Reviewed by: gibbs Approved by: re (blanket Xen) MFC after: 2 weeks --- sys/i386/xen/mptable.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/i386/xen/mptable.c') diff --git a/sys/i386/xen/mptable.c b/sys/i386/xen/mptable.c index 74cb9ab..29d3b33 100644 --- a/sys/i386/xen/mptable.c +++ b/sys/i386/xen/mptable.c @@ -87,6 +87,8 @@ static int mptable_setup_local(void) { + PCPU_SET(apic_id, 0); + PCPU_SET(acpi_id, 0); return (0); } -- cgit v1.1