[tip: locking/futex] futex: Fix outdated comment in struct restart_block

tip-bot2 for Nam Cao posted 1 patch 9 months ago
include/linux/restart_block.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[tip: locking/futex] futex: Fix outdated comment in struct restart_block
Posted by tip-bot2 for Nam Cao 9 months ago
The following commit has been merged into the locking/futex branch of tip:

Commit-ID:     01475aedfdfa33a5ee3219079426f5743367c624
Gitweb:        https://git.kernel.org/tip/01475aedfdfa33a5ee3219079426f5743367c624
Author:        Nam Cao <namcao@linutronix.de>
AuthorDate:    Mon, 28 Apr 2025 21:34:45 +02:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Thu, 08 May 2025 20:29:07 +02:00

futex: Fix outdated comment in struct restart_block

Since commit 2070887fdeac ("futex: fix restart in wait_requeue_pi"),
futex_wait_requeue_pi() no longer uses restart_block. Update the comment
accordingly.

Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250428193445.4571-1-namcao@linutronix.de

---
 include/linux/restart_block.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/restart_block.h b/include/linux/restart_block.h
index 13f1767..7e50bbc 100644
--- a/include/linux/restart_block.h
+++ b/include/linux/restart_block.h
@@ -26,7 +26,7 @@ struct restart_block {
 	unsigned long arch_data;
 	long (*fn)(struct restart_block *);
 	union {
-		/* For futex_wait and futex_wait_requeue_pi */
+		/* For futex_wait() */
 		struct {
 			u32 __user *uaddr;
 			u32 val;