futex: Fix outdated comment in struct restart_block
PATCH 1/1 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 <[email protected]>
--- include/linux/restart_block.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/restart_block.h +1 -1
@@ -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;
Signature · 1 line
2.39.5
The following commit has been merged into the locking/futex branch of tip:
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 <[email protected]> AuthorDate: Mon, 28 Apr 2025 21:34:45 +02:00 Committer: Thomas Gleixner <[email protected]> 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 <[email protected]>
Signed-off-by Thomas Gleixner <[email protected]>
--- include/linux/restart_block.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/restart_block.h +1 -1
@@ -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;