diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2008-09-14 03:55:38 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 10:53:10 -0400 |
commit | 08ad776e3c54e6fe8b50939f176538063b69f89e (patch) | |
tree | 825e58b48e56ae9c4d0f95020b61a95fd5b69043 /arch/x86/kernel/apic.c | |
parent | 9df08f109572e88fbdab9a61d5cb0f0eae4ac9fa (diff) |
x86: apic - skip writting ESR register if we dont have on
On 82489DX we don't have ESR register so we should not
write it.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/apic.c')
-rw-r--r-- | arch/x86/kernel/apic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/apic.c b/arch/x86/kernel/apic.c index 59550cc017dc..d730e8d31727 100644 --- a/arch/x86/kernel/apic.c +++ b/arch/x86/kernel/apic.c | |||
@@ -1131,7 +1131,7 @@ void __cpuinit setup_local_APIC(void) | |||
1131 | 1131 | ||
1132 | #ifdef CONFIG_X86_32 | 1132 | #ifdef CONFIG_X86_32 |
1133 | /* Pound the ESR really hard over the head with a big hammer - mbligh */ | 1133 | /* Pound the ESR really hard over the head with a big hammer - mbligh */ |
1134 | if (esr_disable) { | 1134 | if (lapic_is_integrated() && esr_disable) { |
1135 | apic_write(APIC_ESR, 0); | 1135 | apic_write(APIC_ESR, 0); |
1136 | apic_write(APIC_ESR, 0); | 1136 | apic_write(APIC_ESR, 0); |
1137 | apic_write(APIC_ESR, 0); | 1137 | apic_write(APIC_ESR, 0); |