diff options
-rw-r--r-- | arch/parisc/include/asm/smp.h | 3 | ||||
-rw-r--r-- | arch/parisc/kernel/smp.c | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/arch/parisc/include/asm/smp.h b/arch/parisc/include/asm/smp.h index 6ef4b7867b1b..21eb45a52629 100644 --- a/arch/parisc/include/asm/smp.h +++ b/arch/parisc/include/asm/smp.h | |||
@@ -29,7 +29,8 @@ extern void smp_send_reschedule(int cpu); | |||
29 | extern void smp_send_all_nop(void); | 29 | extern void smp_send_all_nop(void); |
30 | 30 | ||
31 | extern void arch_send_call_function_single_ipi(int cpu); | 31 | extern void arch_send_call_function_single_ipi(int cpu); |
32 | extern void arch_send_call_function_ipi(cpumask_t mask); | 32 | extern void arch_send_call_function_ipi_mask(const struct cpumask *mask); |
33 | #define arch_send_call_function_ipi_mask arch_send_call_function_ipi_mask | ||
33 | 34 | ||
34 | #endif /* !ASSEMBLY */ | 35 | #endif /* !ASSEMBLY */ |
35 | 36 | ||
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 | ||
216 | static void | 216 | static void |
217 | send_IPI_mask(cpumask_t mask, enum ipi_message_type op) | 217 | send_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 | ||
260 | void arch_send_call_function_ipi(cpumask_t mask) | 260 | void 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 | } |