Skip to content

Commit 04a3c5a

Browse files
committed
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 <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
1 parent ea6eed9 commit 04a3c5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/rcu/tasks.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ static void rcu_tasks_pertask(struct task_struct *t, struct list_head *hop)
402402
}
403403

404404
/* Processing between scanning taskslist and draining the holdout list. */
405-
void rcu_tasks_postscan(struct list_head *hop)
405+
static void rcu_tasks_postscan(struct list_head *hop)
406406
{
407407
/*
408408
* Wait for tasks that are in the process of exiting. This

0 commit comments

Comments
 (0)