[tip: core/rcu] rcu-tasks: Make rcu_tasks_postscan() be static

From: tip-bot2 for Paul E. McKenney
Date: Fri Jul 31 2020 - 05:27:04 EST


The following commit has been merged into the core/rcu branch of tip:

Commit-ID: 04a3c5aa7a8cb2ce97f9beb627ba742bc8b0fe03
Gitweb: https://git.kernel.org/tip/04a3c5aa7a8cb2ce97f9beb627ba742bc8b0fe03
Author: Paul E. McKenney <paulmck@xxxxxxxxxx>
AuthorDate: Thu, 28 May 2020 19:27:06 -07:00
Committer: Paul E. McKenney <paulmck@xxxxxxxxxx>
CommitterDate: Mon, 29 Jun 2020 12:00:22 -07:00

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@xxxxxxxxx>
Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxx>
---
kernel/rcu/tasks.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/rcu/tasks.h b/kernel/rcu/tasks.h
index 91fee81..da200e5 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