diff --git a/kernel/sched/core.c b/kernel/sched/core.c index a6d3e7a9c0a9..e09f92c3a096 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -465,7 +465,7 @@ void wake_q_add(struct wake_q_head *head, struct task_struct *task) * wakeup due to that. * * This cmpxchg() implies a full barrier, which pairs with the write - * barrier implied by the wakeup in wake_up_list(). + * barrier implied by the wakeup in wake_up_q(). */ if (cmpxchg(&node->next, NULL, WAKE_Q_TAIL)) return;