rcu-tasks: Make rcu_tasks_postscan() be static
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 29 May 2020 02:27:06 +0000 (19:27 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 29 Jun 2020 19:00:22 +0000 (12:00 -0700)
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 <lkp@intel.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tasks.h

index 91fee81..da200e5 100644 (file)
@@ -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