sched/core: Fix comment typo in wake_q_add()
authorDavidlohr Bueso <[email protected]>
Mon, 9 May 2016 03:58:10 +0000 (20:58 -0700)
committerIngo Molnar <[email protected]>
Mon, 9 May 2016 06:39:52 +0000 (08:39 +0200)
... the comment clearly refers to wake_up_q(), and not
wake_up_list().

Signed-off-by: Davidlohr Bueso <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
kernel/sched/core.c

index a6d3e7a9c0a9655264a983c522a5650c6e7c4863..e09f92c3a096d0eefeb005da0d92582a65c62ee9 100644 (file)
@@ -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;