diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-06-12 09:02:35 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-06-14 05:24:14 -0400 |
commit | 819807df6e60d415a73cd25038814dc9c88d376f (patch) | |
tree | 38ae820d660b33b6b3e3ef7c195e8659212defa0 /arch/sh/kernel | |
parent | 0cb73f4c4667bec8648c32c11f728b81180720d9 (diff) |
cpumask: arch_send_call_function_ipi_mask: sh
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.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel')
-rw-r--r-- | arch/sh/kernel/smp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/kernel/smp.c b/arch/sh/kernel/smp.c index 8f4027412614..576aad3e1b1d 100644 --- a/arch/sh/kernel/smp.c +++ b/arch/sh/kernel/smp.c | |||
@@ -171,11 +171,11 @@ void smp_send_stop(void) | |||
171 | smp_call_function(stop_this_cpu, 0, 0); | 171 | smp_call_function(stop_this_cpu, 0, 0); |
172 | } | 172 | } |
173 | 173 | ||
174 | void arch_send_call_function_ipi(cpumask_t mask) | 174 | void arch_send_call_function_ipi_mask(const struct cpumask *mask) |
175 | { | 175 | { |
176 | int cpu; | 176 | int cpu; |
177 | 177 | ||
178 | for_each_cpu_mask(cpu, mask) | 178 | for_each_cpu(cpu, mask) |
179 | plat_send_ipi(cpu, SMP_MSG_FUNCTION); | 179 | plat_send_ipi(cpu, SMP_MSG_FUNCTION); |
180 | } | 180 | } |
181 | 181 | ||