diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2020-01-17 10:01:37 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-01-24 20:40:09 +0100 |
commit | cb923159bbb8cc8fe09c19a3435ee11fd546f3d3 (patch) | |
tree | aef64dac868e61f25a43de74f578e2a3a72b4b2a /kernel/up.c | |
parent | smp: Add a smp_cond_func_t argument to smp_call_function_many() (diff) | |
download | linux-cb923159bbb8cc8fe09c19a3435ee11fd546f3d3.tar.xz linux-cb923159bbb8cc8fe09c19a3435ee11fd546f3d3.zip |
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.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20200117090137.1205765-4-bigeasy@linutronix.de
Diffstat (limited to 'kernel/up.c')
-rw-r--r-- | kernel/up.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/kernel/up.c b/kernel/up.c index 5c0d4f2bece2..53144d056252 100644 --- a/kernel/up.c +++ b/kernel/up.c @@ -69,8 +69,7 @@ EXPORT_SYMBOL(on_each_cpu_mask); * same condtions in UP and SMP. */ void on_each_cpu_cond_mask(smp_cond_func_t cond_func, smp_call_func_t func, - void *info, bool wait, gfp_t gfp_flags, - const struct cpumask *mask) + void *info, bool wait, const struct cpumask *mask) { unsigned long flags; @@ -85,9 +84,9 @@ void on_each_cpu_cond_mask(smp_cond_func_t cond_func, smp_call_func_t func, EXPORT_SYMBOL(on_each_cpu_cond_mask); void on_each_cpu_cond(smp_cond_func_t cond_func, smp_call_func_t func, - void *info, bool wait, gfp_t gfp_flags) + void *info, bool wait) { - on_each_cpu_cond_mask(cond_func, func, info, wait, gfp_flags, NULL); + on_each_cpu_cond_mask(cond_func, func, info, wait, NULL); } EXPORT_SYMBOL(on_each_cpu_cond); |