projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9df08f1
)
x86: apic - skip writting ESR register if we dont have on
author
Cyrill Gorcunov
<gorcunov@gmail.com>
Sun, 14 Sep 2008 07:55:38 +0000
(11:55 +0400)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 16 Oct 2008 14:53:10 +0000
(16:53 +0200)
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>
arch/x86/kernel/apic.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/apic.c
b/arch/x86/kernel/apic.c
index 59550cc017dcb9d39a5508cacbb829b926ad9f6f..d730e8d317275b2ed1ed9bc5005499abb4b330e9 100644
(file)
--- a/
arch/x86/kernel/apic.c
+++ b/
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);