]> xenbits.xensource.com Git - xen.git/commitdiff
x86: Fix APIC 0x40 error when CPU online and Host s3 resume
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 12 Mar 2009 11:16:54 +0000 (11:16 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 12 Mar 2009 11:16:54 +0000 (11:16 +0000)
disable_APIC_timer actually is not useful here. Actually it will
trigger a local APIC error when masking the LVT entry when vector is
zero (before timer is inited) on Intel P6 family. This APIC error(40)
appears when online the offlined CPU and Host S3 resume.

Signed-off-by: Liping Ke <liping.ke@intel.com>
Signed-off-by: Gang Wei <gang.wei@intel.com>
xen/arch/x86/smpboot.c

index 1f96ed6d508ee4250ad3d96d8b90394c055cd4f0..2842fa6a579f1d8fb0af1f5f413a904f55ef360c 100644 (file)
@@ -385,9 +385,7 @@ void __devinit smp_callin(void)
        /*
         * Save our processor parameters
         */
-       smp_store_cpu_info(cpuid);
-
-       disable_APIC_timer();
+       smp_store_cpu_info(cpuid);
 
        /*
         * Allow the master to continue.