diff options
author | Yangtao Li <tiny.windzz@gmail.com> | 2019-12-28 19:19:12 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-01-17 12:19:21 +0300 |
commit | 35f4cd96f5551dc1b2641159e7bb7bf91de6600f (patch) | |
tree | c8b140bddaa971650c02ae2f549228ff6df83cd1 /kernel/stop_machine.c | |
parent | 02d4ac5885a18d326b500b94808f0956dcce2832 (diff) | |
download | linux-35f4cd96f5551dc1b2641159e7bb7bf91de6600f.tar.xz |
stop_machine: Make stop_cpus() static
The function stop_cpus() is only used internally by the
stop_machine for stop multiple cpus.
Make it static.
Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20191228161912.24082-1-tiny.windzz@gmail.com
Diffstat (limited to 'kernel/stop_machine.c')
-rw-r--r-- | kernel/stop_machine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/stop_machine.c b/kernel/stop_machine.c index 5d68ec4c4015..865bb0228ab6 100644 --- a/kernel/stop_machine.c +++ b/kernel/stop_machine.c @@ -442,7 +442,7 @@ static int __stop_cpus(const struct cpumask *cpumask, * @cpumask were offline; otherwise, 0 if all executions of @fn * returned 0, any non zero return value if any returned non zero. */ -int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) +static int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) { int ret; |