futex: Fix outdated comment in struct restart_block
authorNam Cao <namcao@linutronix.de>
Mon, 28 Apr 2025 19:34:45 +0000 (21:34 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 8 May 2025 18:29:07 +0000 (20:29 +0200)
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

index 13f1767..7e50bbc 100644 (file)
@@ -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;