diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-28 06:50:47 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-28 23:20:23 +0100 |
commit | 5257c5111ca21c8e857b65a79ab986b313e1c362 (patch) | |
tree | 0d48a9c4a0e295e24647818c21896941cef0286c /arch/x86/kernel/ipi.c | |
parent | 3f57a318c36e1f24070a18df8c4971ca08d33142 (diff) | |
download | kernel_samsung_smdk4412-5257c5111ca21c8e857b65a79ab986b313e1c362.zip kernel_samsung_smdk4412-5257c5111ca21c8e857b65a79ab986b313e1c362.tar.gz kernel_samsung_smdk4412-5257c5111ca21c8e857b65a79ab986b313e1c362.tar.bz2 |
x86, apic: clean up ->cpu_to_logical_apicid()
- separate the namespace
- remove macros
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/ipi.c')
-rw-r--r-- | arch/x86/kernel/ipi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/ipi.c b/arch/x86/kernel/ipi.c index e2e4895..367c5e6 100644 --- a/arch/x86/kernel/ipi.c +++ b/arch/x86/kernel/ipi.c @@ -140,7 +140,7 @@ void send_IPI_mask_sequence(const struct cpumask *mask, int vector) local_irq_save(flags); for_each_cpu(query_cpu, mask) - __send_IPI_dest_field(cpu_to_logical_apicid(query_cpu), vector); + __send_IPI_dest_field(apic->cpu_to_logical_apicid(query_cpu), vector); local_irq_restore(flags); } @@ -155,7 +155,7 @@ void send_IPI_mask_allbutself(const struct cpumask *mask, int vector) local_irq_save(flags); for_each_cpu(query_cpu, mask) if (query_cpu != this_cpu) - __send_IPI_dest_field(cpu_to_logical_apicid(query_cpu), + __send_IPI_dest_field(apic->cpu_to_logical_apicid(query_cpu), vector); local_irq_restore(flags); } |