cpumask: remove arch_send_call_function_ipi
Now everyone is converted to arch_send_call_function_ipi_mask, remove the shim and the #defines. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
630cd04607
commit
0748bd0177
|
@ -48,7 +48,6 @@ extern int smp_num_cpus;
|
|||
|
||||
extern void arch_send_call_function_single_ipi(int cpu);
|
||||
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
|
||||
|
||||
#else /* CONFIG_SMP */
|
||||
|
||||
|
|
|
@ -93,7 +93,6 @@ extern void platform_cpu_enable(unsigned int cpu);
|
|||
|
||||
extern void arch_send_call_function_single_ipi(int cpu);
|
||||
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
|
||||
|
||||
/*
|
||||
* show local interrupt info
|
||||
|
|
|
@ -127,7 +127,6 @@ extern int is_multithreading_enabled(void);
|
|||
|
||||
extern void arch_send_call_function_single_ipi(int cpu);
|
||||
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
|
||||
|
||||
#else /* CONFIG_SMP */
|
||||
|
||||
|
|
|
@ -89,7 +89,6 @@ extern unsigned long send_IPI_mask_phys(cpumask_t, int, int);
|
|||
|
||||
extern void arch_send_call_function_single_ipi(int cpu);
|
||||
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 /* not __ASSEMBLY__ */
|
||||
|
||||
|
|
|
@ -79,6 +79,5 @@ extern asmlinkage void smp_call_function_interrupt(void);
|
|||
|
||||
extern void arch_send_call_function_single_ipi(int cpu);
|
||||
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 /* __ASM_SMP_H */
|
||||
|
|
|
@ -30,7 +30,6 @@ extern void smp_send_all_nop(void);
|
|||
|
||||
extern void arch_send_call_function_single_ipi(int cpu);
|
||||
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 /* !ASSEMBLY */
|
||||
|
||||
|
|
|
@ -147,7 +147,6 @@ extern struct smp_ops_t *smp_ops;
|
|||
|
||||
extern void arch_send_call_function_single_ipi(int cpu);
|
||||
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
|
||||
|
||||
/* Definitions relative to the secondary CPU spin loop
|
||||
* and entry point. Not all of them exist on both 32 and
|
||||
|
|
|
@ -63,7 +63,6 @@ extern int smp_cpu_polarization[];
|
|||
|
||||
extern void arch_send_call_function_single_ipi(int cpu);
|
||||
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
|
||||
|
||||
|
|
|
@ -44,7 +44,6 @@ void plat_send_ipi(unsigned int cpu, unsigned int message);
|
|||
|
||||
void arch_send_call_function_single_ipi(int cpu);
|
||||
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
|
||||
|
||||
#else
|
||||
|
||||
|
|
|
@ -36,7 +36,6 @@ extern int sparc64_multi_core;
|
|||
|
||||
extern void arch_send_call_function_single_ipi(int cpu);
|
||||
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.
|
||||
|
|
|
@ -121,7 +121,6 @@ static inline void arch_send_call_function_single_ipi(int cpu)
|
|||
smp_ops.send_call_func_single_ipi(cpu);
|
||||
}
|
||||
|
||||
#define arch_send_call_function_ipi_mask arch_send_call_function_ipi_mask
|
||||
static inline void arch_send_call_function_ipi_mask(const struct cpumask *mask)
|
||||
{
|
||||
smp_ops.send_call_func_ipi(mask);
|
||||
|
|
|
@ -347,13 +347,6 @@ void __smp_call_function_single(int cpu, struct call_single_data *data,
|
|||
generic_exec_single(cpu, data, wait);
|
||||
}
|
||||
|
||||
/* Deprecated: shim for archs using old arch_send_call_function_ipi API. */
|
||||
|
||||
#ifndef arch_send_call_function_ipi_mask
|
||||
# define arch_send_call_function_ipi_mask(maskp) \
|
||||
arch_send_call_function_ipi(*(maskp))
|
||||
#endif
|
||||
|
||||
/**
|
||||
* smp_call_function_many(): Run a function on a set of other CPUs.
|
||||
* @mask: The set of cpus to run on (only runs on online subset).
|
||||
|
|
Loading…
Reference in New Issue