summaryrefslogtreecommitdiff
path: root/kernel/rcu/tasks.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-05-29 05:27:06 +0300
committerPaul E. McKenney <paulmck@kernel.org>2020-06-29 22:00:22 +0300
commit04a3c5aa7a8cb2ce97f9beb627ba742bc8b0fe03 (patch)
tree8bc5e12fb45336d15c5a39dafc9b14357b44956c /kernel/rcu/tasks.h
parentea6eed9f7d7382c7230202d4c3bf74185f193394 (diff)
downloadlinux-04a3c5aa7a8cb2ce97f9beb627ba742bc8b0fe03.tar.xz
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 <lkp@intel.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/rcu/tasks.h')
-rw-r--r--kernel/rcu/tasks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcu/tasks.h b/kernel/rcu/tasks.h
index 91fee8122acd..da200e53d60d 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