aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/ipi.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-28 00:50:47 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-28 17:20:23 -0500
commit5257c5111ca21c8e857b65a79ab986b313e1c362 (patch)
tree0d48a9c4a0e295e24647818c21896941cef0286c /arch/x86/kernel/ipi.c
parent3f57a318c36e1f24070a18df8c4971ca08d33142 (diff)
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/ipi.c b/arch/x86/kernel/ipi.c
index e2e4895ca69..367c5e684fa 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)
140 140
141 local_irq_save(flags); 141 local_irq_save(flags);
142 for_each_cpu(query_cpu, mask) 142 for_each_cpu(query_cpu, mask)
143 __send_IPI_dest_field(cpu_to_logical_apicid(query_cpu), vector); 143 __send_IPI_dest_field(apic->cpu_to_logical_apicid(query_cpu), vector);
144 local_irq_restore(flags); 144 local_irq_restore(flags);
145} 145}
146 146
@@ -155,7 +155,7 @@ void send_IPI_mask_allbutself(const struct cpumask *mask, int vector)
155 local_irq_save(flags); 155 local_irq_save(flags);
156 for_each_cpu(query_cpu, mask) 156 for_each_cpu(query_cpu, mask)
157 if (query_cpu != this_cpu) 157 if (query_cpu != this_cpu)
158 __send_IPI_dest_field(cpu_to_logical_apicid(query_cpu), 158 __send_IPI_dest_field(apic->cpu_to_logical_apicid(query_cpu),
159 vector); 159 vector);
160 local_irq_restore(flags); 160 local_irq_restore(flags);
161} 161}