[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] Xen dom0 arbitrarily assigns APIC ID x to CPU ID x. Make dom0 also



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1203069666 0
# Node ID 0034d9389130969f9452b76370f76394e10238b8
# Parent  d9eaaff9a9bdb37b1aec92e071dc47e038bbd2c5
Xen dom0 arbitrarily assigns APIC ID x to CPU ID x.  Make dom0 also
assign the APIC ID to ACPI ID mapping in the same way.
Signed-off-by: Mark Langsdorf <mark.langsdorf@xxxxxxx>
---
 drivers/xen/core/smpboot.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r d9eaaff9a9bd -r 0034d9389130 drivers/xen/core/smpboot.c
--- a/drivers/xen/core/smpboot.c        Thu Feb 14 09:25:05 2008 +0000
+++ b/drivers/xen/core/smpboot.c        Fri Feb 15 10:01:06 2008 +0000
@@ -269,6 +269,7 @@ void __init smp_prepare_cpus(unsigned in
 
        cpu_2_logical_apicid[0] = 0;
        x86_cpu_to_apicid[0] = 0;
+       x86_acpiid_to_apicid[0] = 0;
 
        current_thread_info()->cpu = 0;
 
@@ -317,6 +318,7 @@ void __init smp_prepare_cpus(unsigned in
 
                cpu_2_logical_apicid[cpu] = cpu;
                x86_cpu_to_apicid[cpu] = cpu;
+               x86_acpiid_to_apicid[cpu] = cpu;
 
                idle = fork_idle(cpu);
                if (IS_ERR(idle))

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.