diff options
author | gibbs <gibbs@FreeBSD.org> | 2013-09-20 04:35:09 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 2013-09-20 04:35:09 +0000 |
commit | 45812e0f976ce4fd4915dda57316808d8bb5f23e (patch) | |
tree | 464afd087da87322178b01e15a85136653941af8 /sys/i386/xen/mptable.c | |
parent | 88a4d0f31a9eb87f44806242b097f545ae385c34 (diff) | |
download | FreeBSD-src-45812e0f976ce4fd4915dda57316808d8bb5f23e.zip FreeBSD-src-45812e0f976ce4fd4915dda57316808d8bb5f23e.tar.gz |
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.
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
Diffstat (limited to 'sys/i386/xen/mptable.c')
-rw-r--r-- | sys/i386/xen/mptable.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |