From: Paul E. McKenney Date: Fri, 29 May 2020 02:27:06 +0000 (-0700) Subject: rcu-tasks: Make rcu_tasks_postscan() be static X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=04a3c5aa7a8cb2ce97f9beb627ba742bc8b0fe03;p=linux.git rcu-tasks: Make rcu_tasks_postscan() be static The rcu_tasks_postscan() function is not used outside of RCU's tasks.h file, so this commit makes it be static. Reported-by: kbuild test robot Signed-off-by: Paul E. McKenney --- diff --git a/kernel/rcu/tasks.h b/kernel/rcu/tasks.h index 91fee8122acd4..da200e53d60d9 100644 --- a/kernel/rcu/tasks.h +++ b/kernel/rcu/tasks.h @@ -402,7 +402,7 @@ static void rcu_tasks_pertask(struct task_struct *t, struct list_head *hop) } /* Processing between scanning taskslist and draining the holdout list. */ -void rcu_tasks_postscan(struct list_head *hop) +static void rcu_tasks_postscan(struct list_head *hop) { /* * Wait for tasks that are in the process of exiting. This