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
5151 * processor.
5252 */
5353 void 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);
5555
5656 void 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,
58− const struct cpumask *mask);
57+ void *info, bool wait, const struct cpumask *mask);
5958
6059 int smp_call_function_single_async(int cpu, call_single_data_t *csd);
6160