aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/arm64/include/asm/unistd.h
diff options
context:
space:
mode:
authorpeterz@infradead.org <peterz@infradead.org>2023-09-21 12:45:12 +0200
committerPeter Zijlstra <peterz@infradead.org>2023-09-21 19:22:08 +0200
commitcb8c4312afca1b2dc64107e7e7cea81911055612 (patch)
tree47b639a216151b9f38126bffe53d46cd49cc1e3f /arch/arm64/include/asm/unistd.h
parentfutex: FLAGS_STRICT (diff)
downloadwireguard-linux-cb8c4312afca1b2dc64107e7e7cea81911055612.tar.xz
wireguard-linux-cb8c4312afca1b2dc64107e7e7cea81911055612.zip
futex: Add sys_futex_wait()
To complement sys_futex_waitv()/wake(), add sys_futex_wait(). This syscall implements what was previously known as FUTEX_WAIT_BITSET except it uses 'unsigned long' for the value and bitmask arguments, takes timespec and clockid_t arguments for the absolute timeout and uses FUTEX2 flags. The 'unsigned long' allows FUTEX2_SIZE_U64 on 64bit platforms. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://lore.kernel.org/r/20230921105248.164324363@noisy.programming.kicks-ass.net
Diffstat (limited to 'arch/arm64/include/asm/unistd.h')
-rw-r--r--arch/arm64/include/asm/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/unistd.h b/arch/arm64/include/asm/unistd.h
index 63a8a9c4abc1..f33190f17ebb 100644
--- a/arch/arm64/include/asm/unistd.h
+++ b/arch/arm64/include/asm/unistd.h
@@ -39,7 +39,7 @@
#define __ARM_NR_compat_set_tls (__ARM_NR_COMPAT_BASE + 5)
#define __ARM_NR_COMPAT_END (__ARM_NR_COMPAT_BASE + 0x800)
-#define __NR_compat_syscalls 455
+#define __NR_compat_syscalls 456
#endif
#define __ARCH_WANT_SYS_CLONE