[tip: locking/futex] futex: Fix outdated comment in struct restart_block
From: tip-bot2 for Nam Cao
Date: Thu May 08 2025 - 14:37:05 EST
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@xxxxxxxxxxxxx>
AuthorDate: Mon, 28 Apr 2025 21:34:45 +02:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
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@xxxxxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Link: https://lore.kernel.org/all/20250428193445.4571-1-namcao@xxxxxxxxxxxxx
---
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;