Commit f46df02a authored by Rusty Russell's avatar Rusty Russell

cpumask: arch_send_call_function_ipi_mask: sparc

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: default avatarRusty Russell <rusty@rustcorp.com.au>
parent fd8e18e9
...@@ -35,7 +35,8 @@ extern cpumask_t cpu_core_map[NR_CPUS]; ...@@ -35,7 +35,8 @@ extern cpumask_t cpu_core_map[NR_CPUS];
extern int sparc64_multi_core; extern int sparc64_multi_core;
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
/* /*
* General functions that each host system must provide. * General functions that each host system must provide.
......
...@@ -808,9 +808,9 @@ static void smp_start_sync_tick_client(int cpu) ...@@ -808,9 +808,9 @@ static void smp_start_sync_tick_client(int cpu)
extern unsigned long xcall_call_function; extern unsigned long xcall_call_function;
void arch_send_call_function_ipi(cpumask_t mask) void arch_send_call_function_ipi_mask(const struct cpumask *mask)
{ {
xcall_deliver((u64) &xcall_call_function, 0, 0, &mask); xcall_deliver((u64) &xcall_call_function, 0, 0, mask);
} }
extern unsigned long xcall_call_function_single; extern unsigned long xcall_call_function_single;
......
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