diff options
Diffstat (limited to 'arch/x86_64/kernel/genapic_cluster.c')
-rw-r--r-- | arch/x86_64/kernel/genapic_cluster.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86_64/kernel/genapic_cluster.c b/arch/x86_64/kernel/genapic_cluster.c index f6523dd1bc09..a472d62f899a 100644 --- 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) | |||
51 | count = 3; | 51 | count = 3; |
52 | id = my_cluster | (1UL << count); | 52 | id = my_cluster | (1UL << count); |
53 | x86_cpu_to_log_apicid[smp_processor_id()] = id; | 53 | x86_cpu_to_log_apicid[smp_processor_id()] = id; |
54 | apic_write_around(APIC_DFR, APIC_DFR_CLUSTER); | 54 | apic_write(APIC_DFR, APIC_DFR_CLUSTER); |
55 | val = apic_read(APIC_LDR) & ~APIC_LDR_MASK; | 55 | val = apic_read(APIC_LDR) & ~APIC_LDR_MASK; |
56 | val |= SET_APIC_LOGICAL_ID(id); | 56 | val |= SET_APIC_LOGICAL_ID(id); |
57 | apic_write_around(APIC_LDR, val); | 57 | apic_write(APIC_LDR, val); |
58 | } | 58 | } |
59 | 59 | ||
60 | /* Start with all IRQs pointing to boot CPU. IRQ balancing will shift them. */ | 60 | /* Start with all IRQs pointing to boot CPU. IRQ balancing will shift them. */ |