projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea6eed9
)
rcu-tasks: Make rcu_tasks_postscan() be static
author
Paul E. McKenney
<paulmck@kernel.org>
Fri, 29 May 2020 02:27:06 +0000
(19:27 -0700)
committer
Paul 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
patch
|
blob
|
history
diff --git
a/kernel/rcu/tasks.h
b/kernel/rcu/tasks.h
index 91fee8122acd43972e597ce94606f5d20f4ace4b..da200e53d60d962dd3c90bf3716c3c201d2fc33f 100644
(file)
--- 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