Skip to contentSkip to conversation

rcuwait: Fix wake_up typo

PATCH New Davidlohr Bueso 2 participants 2 messages Jan 29, 2017 – Feb 1, 2017 RCU

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rcuwait: Fix wake_up typo

Forgot to update the comment after renaming the call.

---
 include/linux/rcuwait.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/rcuwait.h +1 -1
index 0e93d56c7ab2..a4ede51b3e7c 100644
@@ -47,7 +47,7 @@ extern void rcuwait_wake_up(struct rcuwait *w);
 	for (;;) {							\
 		/*							\
 		 * Implicit barrier (A) pairs with (B) in		\
-		 * rcuwait_trywake().					\
+		 * rcuwait_wake_up().					\
 		 */							\
 		set_current_state(TASK_UNINTERRUPTIBLE);		\
 		if (condition)						\
Signature · 1 line
2.6.6
#1 lore raw

[tip:locking/core] sched/wait, rcuwait: Fix typo in comment

sched/wait, rcuwait: Fix typo in comment
Commit-ID:  7e1f9467d1e48c64c27d6a32de1bfd1b9cdb1002
Gitweb:     http://git.kernel.org/tip/7e1f9467d1e48c64c27d6a32de1bfd1b9cdb1002
Author:     Davidlohr Bueso <[email protected]>
AuthorDate: Sun, 29 Jan 2017 07:42:12 -0800
Committer:  Ingo Molnar <[email protected]>
CommitDate: Wed, 1 Feb 2017 09:17:51 +0100

sched/wait, rcuwait: Fix typo in comment

Forgot to update the comment after renaming the call.

---
 include/linux/rcuwait.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/rcuwait.h +1 -1
index 0e93d56..a4ede51 100644
@@ -47,7 +47,7 @@ extern void rcuwait_wake_up(struct rcuwait *w);
 	for (;;) {							\
 		/*							\
 		 * Implicit barrier (A) pairs with (B) in		\
-		 * rcuwait_trywake().					\
+		 * rcuwait_wake_up().					\
 		 */							\
 		set_current_state(TASK_UNINTERRUPTIBLE);		\
 		if (condition)						\