projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] x86-64: Remove obsolete APIC "write around" bug workaround
[cascardo/linux.git]
/
arch
/
x86_64
/
kernel
/
genapic_cluster.c
diff --git
a/arch/x86_64/kernel/genapic_cluster.c
b/arch/x86_64/kernel/genapic_cluster.c
index
f6523dd
..
a472d62
100644
(file)
--- a/
arch/x86_64/kernel/genapic_cluster.c
+++ b/
arch/x86_64/kernel/genapic_cluster.c
@@
-51,10
+51,10
@@
static void cluster_init_apic_ldr(void)
count = 3;
id = my_cluster | (1UL << count);
x86_cpu_to_log_apicid[smp_processor_id()] = id;
count = 3;
id = my_cluster | (1UL << count);
x86_cpu_to_log_apicid[smp_processor_id()] = id;
- apic_write
_around
(APIC_DFR, APIC_DFR_CLUSTER);
+ apic_write(APIC_DFR, APIC_DFR_CLUSTER);
val = apic_read(APIC_LDR) & ~APIC_LDR_MASK;
val |= SET_APIC_LOGICAL_ID(id);
val = apic_read(APIC_LDR) & ~APIC_LDR_MASK;
val |= SET_APIC_LOGICAL_ID(id);
- apic_write
_around
(APIC_LDR, val);
+ apic_write(APIC_LDR, val);
}
/* Start with all IRQs pointing to boot CPU. IRQ balancing will shift them. */
}
/* Start with all IRQs pointing to boot CPU. IRQ balancing will shift them. */