ia64/xen-unstable

changeset 19340:dc5441bf3ddc

x86: Fix APIC 0x40 error when CPU online and Host s3 resume

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>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Mar 12 11:16:54 2009 +0000 (2009-03-12)
parents 8ecf3ecc888e
children 32cdbebf0cb7
files xen/arch/x86/smpboot.c
line diff
     1.1 --- a/xen/arch/x86/smpboot.c	Thu Mar 12 11:14:22 2009 +0000
     1.2 +++ b/xen/arch/x86/smpboot.c	Thu Mar 12 11:16:54 2009 +0000
     1.3 @@ -385,9 +385,7 @@ void __devinit smp_callin(void)
     1.4  	/*
     1.5  	 * Save our processor parameters
     1.6  	 */
     1.7 - 	smp_store_cpu_info(cpuid);
     1.8 -
     1.9 -	disable_APIC_timer();
    1.10 +	smp_store_cpu_info(cpuid);
    1.11  
    1.12  	/*
    1.13  	 * Allow the master to continue.