]> xenbits.xensource.com Git - people/vhanquez/xen.git/commitdiff
x86: Fix APIC 0x40 error when CPU online and Host s3 resume
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 17 Mar 2009 14:53:05 +0000 (14:53 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 17 Mar 2009 14:53:05 +0000 (14:53 +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-unstable changeset:   19335:dc5441bf3ddcfb14045333c9992fd919c5d79a24
xen-unstable date:        Thu Mar 12 11:16:54 2009 +0000

xen/arch/x86/smpboot.c

index 3dfffd39381885d431a9cee869b774962d1858ed..9e2198be7246f99bc6445df2fe9cc5214c394c15 100644 (file)
@@ -390,9 +390,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.