提交 08ad776e 编写于 作者: C Cyrill Gorcunov 提交者: Ingo Molnar

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: NCyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 9df08f10
...@@ -1131,7 +1131,7 @@ void __cpuinit setup_local_APIC(void) ...@@ -1131,7 +1131,7 @@ void __cpuinit setup_local_APIC(void)
#ifdef CONFIG_X86_32 #ifdef CONFIG_X86_32
/* Pound the ESR really hard over the head with a big hammer - mbligh */ /* 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); apic_write(APIC_ESR, 0);
apic_write(APIC_ESR, 0); apic_write(APIC_ESR, 0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册