diff options
author | peterz@infradead.org <peterz@infradead.org> | 2023-09-21 13:45:10 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2023-09-21 20:22:07 +0300 |
commit | 9f6c532f59b20580acf8ede9409c9b8dce6e74e1 (patch) | |
tree | a0ace6e28ec4b23343056bd4b889214ac2777d83 /arch/alpha | |
parent | 698eb826383616ce0e817d2384da6413d1439fb6 (diff) | |
download | linux-9f6c532f59b20580acf8ede9409c9b8dce6e74e1.tar.xz |
futex: Add sys_futex_wake()
To complement sys_futex_waitv() add sys_futex_wake(). This syscall
implements what was previously known as FUTEX_WAKE_BITSET except it
uses 'unsigned long' for the bitmask and takes 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/20230921105247.936205525@noisy.programming.kicks-ass.net
Diffstat (limited to 'arch/alpha')
-rw-r--r-- | arch/alpha/kernel/syscalls/syscall.tbl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/alpha/kernel/syscalls/syscall.tbl b/arch/alpha/kernel/syscalls/syscall.tbl index ad37569d0507..3b86519d68e4 100644 --- a/arch/alpha/kernel/syscalls/syscall.tbl +++ b/arch/alpha/kernel/syscalls/syscall.tbl @@ -492,3 +492,4 @@ 560 common set_mempolicy_home_node sys_ni_syscall 561 common cachestat sys_cachestat 562 common fchmodat2 sys_fchmodat2 +563 common futex_wake sys_futex_wake |