aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/restart_block.h
diff options
context:
space:
mode:
authorNam Cao <namcao@linutronix.de>2025-04-28 21:34:45 +0200
committerThomas Gleixner <tglx@linutronix.de>2025-05-08 20:29:07 +0200
commit01475aedfdfa33a5ee3219079426f5743367c624 (patch)
tree7fa065a510efb061c970c3148777bd5368b4250e /include/linux/restart_block.h
parentfutex,selftests: Add another FUTEX2_NUMA selftest (diff)
downloadwireguard-linux-01475aedfdfa33a5ee3219079426f5743367c624.tar.xz
wireguard-linux-01475aedfdfa33a5ee3219079426f5743367c624.zip
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
Diffstat (limited to '')
-rw-r--r--include/linux/restart_block.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/restart_block.h b/include/linux/restart_block.h
index 13f17676c5f4..7e50bbc94e47 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;