aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/smp.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-03-15 23:49:37 -0400
committerRusty Russell <rusty@rustcorp.com.au>2009-03-15 23:49:37 -0400
commit91887a362984324e254473e92820758c8e658f78 (patch)
tree6e35a78171e6c0df14fa70ab39368f08aa60056f /arch/parisc/kernel/smp.c
parent5bee17f18b595937e6beafeee5197868a3f74a06 (diff)
cpumask: arch_send_call_function_ipi_mask: parisc
We're weaning the core code off handing cpumask's around on-stack. This introduces arch_send_call_function_ipi_mask(), and by defining it, the old arch_send_call_function_ipi is defined by the core code. We also take the chance to change send_IPI_mask() and use the new for_each_cpu() iterator. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'arch/parisc/kernel/smp.c')
-rw-r--r--arch/parisc/kernel/smp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/parisc/kernel/smp.c b/arch/parisc/kernel/smp.c
index 9995d7ed5819..ba9b6808e2d9 100644
--- a/arch/parisc/kernel/smp.c
+++ b/arch/parisc/kernel/smp.c
@@ -214,11 +214,11 @@ ipi_send(int cpu, enum ipi_message_type op)
214} 214}
215 215
216static void 216static void
217send_IPI_mask(cpumask_t mask, enum ipi_message_type op) 217send_IPI_mask(const struct cpumask *mask, enum ipi_message_type op)
218{ 218{
219 int cpu; 219 int cpu;
220 220
221 for_each_cpu_mask(cpu, mask) 221 for_each_cpu(cpu, mask)
222 ipi_send(cpu, op); 222 ipi_send(cpu, op);
223} 223}
224 224
@@ -257,7 +257,7 @@ smp_send_all_nop(void)
257 send_IPI_allbutself(IPI_NOP); 257 send_IPI_allbutself(IPI_NOP);
258} 258}
259 259
260void arch_send_call_function_ipi(cpumask_t mask) 260void arch_send_call_function_ipi_mask(const struct cpumask *mask)
261{ 261{
262 send_IPI_mask(mask, IPI_CALL_FUNC); 262 send_IPI_mask(mask, IPI_CALL_FUNC);
263} 263}