History

smp: Remove allocation mask from on_each_cpu_cond.*()

The allocation mask is no longer used by on_each_cpu_cond() and on_each_cpu_cond_mask() and can be removed.

Sebastian Andrzej Siewior committed 6 years ago

Commit cb923151 parent 67719ef6 files · +11 −20Browse files

Showing the changes to include/linux (1 of 6 files). Show all

Unified · Split

include/linux/smp.h+2−3
@@ -51,11 +51,10 @@ void on_each_cpu_mask(const struct cpumask *mask, smp_call_func_t func, · 50 unmodified lines
51 * processor.51 * processor.
52 */52 */
53void on_each_cpu_cond(smp_cond_func_t cond_func, smp_call_func_t func,53void on_each_cpu_cond(smp_cond_func_t cond_func, smp_call_func_t func,
54 void *info, bool wait, gfp_t gfp_flags);54 void *info, bool wait);
55 55
56void on_each_cpu_cond_mask(smp_cond_func_t cond_func, smp_call_func_t func,56void on_each_cpu_cond_mask(smp_cond_func_t cond_func, smp_call_func_t func,
57 void *info, bool wait, gfp_t gfp_flags,57 void *info, bool wait, const struct cpumask *mask);
58 const struct cpumask *mask);
59 58
60int smp_call_function_single_async(int cpu, call_single_data_t *csd);59int smp_call_function_single_async(int cpu, call_single_data_t *csd);
61 60