diff --git a/[refs] b/[refs] index b3ab18aa51ab..c2ed95906bb5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8d433c407dea248c8db09edbc0b3c245977d596f +refs/heads/master: db96b0a0e4158806fcf03945a870f9320e6bac9b diff --git a/trunk/arch/x86/kernel/smpboot.c b/trunk/arch/x86/kernel/smpboot.c index 7ece815ea637..7b1093397319 100644 --- a/trunk/arch/x86/kernel/smpboot.c +++ b/trunk/arch/x86/kernel/smpboot.c @@ -893,9 +893,11 @@ static int __cpuinit do_boot_cpu(int apicid, int cpu) smpboot_setup_warm_reset_vector(start_ip); /* * Be paranoid about clearing APIC errors. - */ - apic_write(APIC_ESR, 0); - apic_read(APIC_ESR); + */ + if (APIC_INTEGRATED(apic_version[boot_cpu_physical_apicid])) { + apic_write(APIC_ESR, 0); + apic_read(APIC_ESR); + } } /*