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

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



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1203345237 0
# Node ID b5ffb95759361a567522e5ea1a60569ca7046512
# Parent  48b10874f4e847c5549b3edb05d08cd352ab04af
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>
linux-2.6.18-xen changeset:   419:0034d9389130969f9452b76370f76394e10238b8
linux-2.6.18-xen date:        Fri Feb 15 10:01:06 2008 +0000
---
 linux-2.6-xen-sparse/drivers/xen/core/smpboot.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r 48b10874f4e8 -r b5ffb9575936 
linux-2.6-xen-sparse/drivers/xen/core/smpboot.c
--- a/linux-2.6-xen-sparse/drivers/xen/core/smpboot.c   Mon Feb 18 14:33:35 
2008 +0000
+++ b/linux-2.6-xen-sparse/drivers/xen/core/smpboot.c   Mon Feb 18 14:33:57 
2008 +0000
@@ -270,6 +270,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;
 
@@ -318,6 +319,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®.