Commit 630cd046 authored by Rusty Russell's avatar Rusty Russell

cpumask: arch_send_call_function_ipi_mask: s390

We're weaning the core code off handing cpumask's around on-stack.
This introduces arch_send_call_function_ipi_mask().
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent f063ea02
...@@ -62,7 +62,8 @@ extern struct mutex smp_cpu_state_mutex; ...@@ -62,7 +62,8 @@ extern struct mutex smp_cpu_state_mutex;
extern int smp_cpu_polarization[]; extern int smp_cpu_polarization[];
extern void arch_send_call_function_single_ipi(int cpu); extern void arch_send_call_function_single_ipi(int cpu);
extern void arch_send_call_function_ipi(cpumask_t mask); extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
#define arch_send_call_function_ipi_mask arch_send_call_function_ipi_mask
#endif #endif
......
...@@ -147,11 +147,11 @@ static void smp_ext_bitcall(int cpu, ec_bit_sig sig) ...@@ -147,11 +147,11 @@ static void smp_ext_bitcall(int cpu, ec_bit_sig sig)
udelay(10); udelay(10);
} }
void arch_send_call_function_ipi(cpumask_t mask) void arch_send_call_function_ipi_mask(const struct cpumask *mask)
{ {
int cpu; int cpu;
for_each_cpu_mask(cpu, mask) for_each_cpu(cpu, mask)
smp_ext_bitcall(cpu, ec_call_function); smp_ext_bitcall(cpu, ec_call_function);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment