aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@stgolabs.net>2016-05-08 23:58:10 -0400
committerIngo Molnar <mingo@kernel.org>2016-05-09 02:39:52 -0400
commit58fe9c4621b7219e724c0b7af053112f974a08c3 (patch)
tree68d10da989c7321851dd9e4d816aa86001901212 /kernel/sched
parent8c5e95548d41a48b1eb2be741107a259251ebd86 (diff)
sched/core: Fix comment typo in wake_q_add()
... the comment clearly refers to wake_up_q(), and not wake_up_list(). Signed-off-by: Davidlohr Bueso <dbueso@suse.de> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: dave@stgolabs.net Link: http://lkml.kernel.org/r/1462766290-28664-1-git-send-email-dave@stgolabs.net Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched')
-rw-r--r--kernel/sched/core.c2
1 files changed, 1 insertions, 1 deletions
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)
465 * wakeup due to that. 465 * wakeup due to that.
466 * 466 *
467 * This cmpxchg() implies a full barrier, which pairs with the write 467 * This cmpxchg() implies a full barrier, which pairs with the write
468 * barrier implied by the wakeup in wake_up_list(). 468 * barrier implied by the wakeup in wake_up_q().
469 */ 469 */
470 if (cmpxchg(&node->next, NULL, WAKE_Q_TAIL)) 470 if (cmpxchg(&node->next, NULL, WAKE_Q_TAIL))
471 return; 471 return;