From a286dd22309454a6561e4d46ad58f2e17cfeb15d Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Sun, 14 Sep 2008 11:55:38 +0400 Subject: [PATCH] --- yaml --- r: 116517 b: refs/heads/master c: 08ad776e3c54e6fe8b50939f176538063b69f89e h: refs/heads/master i: 116515: 34284bfddeed873bbb15d049fa9bec2372f9ad5a v: v3 --- [refs] | 2 +- trunk/arch/x86/kernel/apic.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 0bf6d55806b0..3094d100c5c2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9df08f109572e88fbdab9a61d5cb0f0eae4ac9fa +refs/heads/master: 08ad776e3c54e6fe8b50939f176538063b69f89e diff --git a/trunk/arch/x86/kernel/apic.c b/trunk/arch/x86/kernel/apic.c index 59550cc017dc..d730e8d31727 100644 --- a/trunk/arch/x86/kernel/apic.c +++ b/trunk/arch/x86/kernel/apic.c @@ -1131,7 +1131,7 @@ void __cpuinit setup_local_APIC(void) #ifdef CONFIG_X86_32 /* Pound the ESR really hard over the head with a big hammer - mbligh */ - if (esr_disable) { + if (lapic_is_integrated() && esr_disable) { apic_write(APIC_ESR, 0); apic_write(APIC_ESR, 0); apic_write(APIC_ESR, 0);