Skip to content

Commit d0a8585

Browse files
Neeraj Upadhyaypaulmckrcu
authored andcommitted
rcu-tasks: Fix s/rcu_add_holdout/trc_add_holdout/ typo in comment
Signed-off-by: Neeraj Upadhyay <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
1 parent 0db7c32 commit d0a8585

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
@@ -991,7 +991,7 @@ static void trc_wait_for_one_reader(struct task_struct *t,
991991

992992
// If this task is not yet on the holdout list, then we are in
993993
// an RCU read-side critical section. Otherwise, the invocation of
994-
// rcu_add_holdout() that added it to the list did the necessary
994+
// trc_add_holdout() that added it to the list did the necessary
995995
// get_task_struct(). Either way, the task cannot be freed out
996996
// from under this code.
997997

0 commit comments

Comments
 (0)