>From af1cd91857f4b90ba65ed711db5298fba62a2d71 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Tue, 29 Mar 2022 19:51:57 +0000 Subject: [PATCH 12/20] bits/syscall.h: add futex_waitv syscall number from linux v5.16 to wait on multiple futexes, see linux commit bf69bad38cf63d980e8a603f8d1bd1f85b5ed3d9 futex: Implement sys_futex_waitv() --- arch/aarch64/bits/syscall.h.in | 1 + arch/arm/bits/syscall.h.in | 1 + arch/i386/bits/syscall.h.in | 1 + arch/m68k/bits/syscall.h.in | 1 + arch/microblaze/bits/syscall.h.in | 1 + arch/mips/bits/syscall.h.in | 1 + arch/mips64/bits/syscall.h.in | 1 + arch/mipsn32/bits/syscall.h.in | 1 + arch/or1k/bits/syscall.h.in | 1 + arch/powerpc/bits/syscall.h.in | 1 + arch/powerpc64/bits/syscall.h.in | 1 + arch/riscv64/bits/syscall.h.in | 1 + arch/s390x/bits/syscall.h.in | 1 + arch/sh/bits/syscall.h.in | 1 + arch/x32/bits/syscall.h.in | 2 ++ arch/x86_64/bits/syscall.h.in | 1 + 16 files changed, 17 insertions(+) diff --git a/arch/aarch64/bits/syscall.h.in b/arch/aarch64/bits/syscall.h.in index f7b2b404..7a8dcec1 100644 --- a/arch/aarch64/bits/syscall.h.in +++ b/arch/aarch64/bits/syscall.h.in @@ -302,4 +302,5 @@ #define __NR_landlock_restrict_self 446 #define __NR_memfd_secret 447 #define __NR_process_mrelease 448 +#define __NR_futex_waitv 449 diff --git a/arch/arm/bits/syscall.h.in b/arch/arm/bits/syscall.h.in index f8fac979..bcc2c682 100644 --- a/arch/arm/bits/syscall.h.in +++ b/arch/arm/bits/syscall.h.in @@ -401,6 +401,7 @@ #define __NR_landlock_add_rule 445 #define __NR_landlock_restrict_self 446 #define __NR_process_mrelease 448 +#define __NR_futex_waitv 449 #define __ARM_NR_breakpoint 0x0f0001 #define __ARM_NR_cacheflush 0x0f0002 diff --git a/arch/i386/bits/syscall.h.in b/arch/i386/bits/syscall.h.in index be53214d..8652ab9b 100644 --- a/arch/i386/bits/syscall.h.in +++ b/arch/i386/bits/syscall.h.in @@ -439,4 +439,5 @@ #define __NR_landlock_restrict_self 446 #define __NR_memfd_secret 447 #define __NR_process_mrelease 448 +#define __NR_futex_waitv 449 diff --git a/arch/m68k/bits/syscall.h.in b/arch/m68k/bits/syscall.h.in index faa979f1..bdc9ceeb 100644 --- a/arch/m68k/bits/syscall.h.in +++ b/arch/m68k/bits/syscall.h.in @@ -418,3 +418,4 @@ #define __NR_landlock_add_rule 445 #define __NR_landlock_restrict_self 446 #define __NR_process_mrelease 448 +#define __NR_futex_waitv 449 diff --git a/arch/microblaze/bits/syscall.h.in b/arch/microblaze/bits/syscall.h.in index 49d83c58..7e35e182 100644 --- a/arch/microblaze/bits/syscall.h.in +++ b/arch/microblaze/bits/syscall.h.in @@ -439,4 +439,5 @@ #define __NR_landlock_add_rule 445 #define __NR_landlock_restrict_self 446 #define __NR_process_mrelease 448 +#define __NR_futex_waitv 449 diff --git a/arch/mips/bits/syscall.h.in b/arch/mips/bits/syscall.h.in index cb90e8c9..547175bc 100644 --- a/arch/mips/bits/syscall.h.in +++ b/arch/mips/bits/syscall.h.in @@ -420,4 +420,5 @@ #define __NR_landlock_add_rule 4445 #define __NR_landlock_restrict_self 4446 #define __NR_process_mrelease 4448 +#define __NR_futex_waitv 4449 diff --git a/arch/mips64/bits/syscall.h.in b/arch/mips64/bits/syscall.h.in index fc338789..86d2780a 100644 --- a/arch/mips64/bits/syscall.h.in +++ b/arch/mips64/bits/syscall.h.in @@ -350,4 +350,5 @@ #define __NR_landlock_add_rule 5445 #define __NR_landlock_restrict_self 5446 #define __NR_process_mrelease 5448 +#define __NR_futex_waitv 5449 diff --git a/arch/mipsn32/bits/syscall.h.in b/arch/mipsn32/bits/syscall.h.in index 5aaef9d7..572a843c 100644 --- a/arch/mipsn32/bits/syscall.h.in +++ b/arch/mipsn32/bits/syscall.h.in @@ -374,4 +374,5 @@ #define __NR_landlock_add_rule 6445 #define __NR_landlock_restrict_self 6446 #define __NR_process_mrelease 6448 +#define __NR_futex_waitv 6449 diff --git a/arch/or1k/bits/syscall.h.in b/arch/or1k/bits/syscall.h.in index af884fbc..8a80cf15 100644 --- a/arch/or1k/bits/syscall.h.in +++ b/arch/or1k/bits/syscall.h.in @@ -323,4 +323,5 @@ #define __NR_landlock_add_rule 445 #define __NR_landlock_restrict_self 446 #define __NR_process_mrelease 448 +#define __NR_futex_waitv 449 diff --git a/arch/powerpc/bits/syscall.h.in b/arch/powerpc/bits/syscall.h.in index 13328062..19edfd41 100644 --- a/arch/powerpc/bits/syscall.h.in +++ b/arch/powerpc/bits/syscall.h.in @@ -427,4 +427,5 @@ #define __NR_landlock_add_rule 445 #define __NR_landlock_restrict_self 446 #define __NR_process_mrelease 448 +#define __NR_futex_waitv 449 diff --git a/arch/powerpc64/bits/syscall.h.in b/arch/powerpc64/bits/syscall.h.in index 23221034..247a9aae 100644 --- a/arch/powerpc64/bits/syscall.h.in +++ b/arch/powerpc64/bits/syscall.h.in @@ -399,4 +399,5 @@ #define __NR_landlock_add_rule 445 #define __NR_landlock_restrict_self 446 #define __NR_process_mrelease 448 +#define __NR_futex_waitv 449 diff --git a/arch/riscv64/bits/syscall.h.in b/arch/riscv64/bits/syscall.h.in index d716006a..6071d959 100644 --- a/arch/riscv64/bits/syscall.h.in +++ b/arch/riscv64/bits/syscall.h.in @@ -302,6 +302,7 @@ #define __NR_landlock_restrict_self 446 #define __NR_memfd_secret 447 #define __NR_process_mrelease 448 +#define __NR_futex_waitv 449 #define __NR_sysriscv __NR_arch_specific_syscall #define __NR_riscv_flush_icache (__NR_sysriscv + 15) diff --git a/arch/s390x/bits/syscall.h.in b/arch/s390x/bits/syscall.h.in index e2882737..9aba4afc 100644 --- a/arch/s390x/bits/syscall.h.in +++ b/arch/s390x/bits/syscall.h.in @@ -364,4 +364,5 @@ #define __NR_landlock_add_rule 445 #define __NR_landlock_restrict_self 446 #define __NR_process_mrelease 448 +#define __NR_futex_waitv 449 diff --git a/arch/sh/bits/syscall.h.in b/arch/sh/bits/syscall.h.in index 7910b189..c2a5b5d1 100644 --- a/arch/sh/bits/syscall.h.in +++ b/arch/sh/bits/syscall.h.in @@ -411,4 +411,5 @@ #define __NR_landlock_add_rule 445 #define __NR_landlock_restrict_self 446 #define __NR_process_mrelease 448 +#define __NR_futex_waitv 449 diff --git a/arch/x32/bits/syscall.h.in b/arch/x32/bits/syscall.h.in index 7ba6a223..c3f1e1cb 100644 --- a/arch/x32/bits/syscall.h.in +++ b/arch/x32/bits/syscall.h.in @@ -311,6 +311,8 @@ #define __NR_landlock_restrict_self (0x40000000 + 446) #define __NR_memfd_secret (0x40000000 + 447) #define __NR_process_mrelease (0x40000000 + 448) +#define __NR_futex_waitv (0x40000000 + 449) + #define __NR_rt_sigaction (0x40000000 + 512) diff --git a/arch/x86_64/bits/syscall.h.in b/arch/x86_64/bits/syscall.h.in index 43d3a4d8..a5229838 100644 --- a/arch/x86_64/bits/syscall.h.in +++ b/arch/x86_64/bits/syscall.h.in @@ -358,4 +358,5 @@ #define __NR_landlock_restrict_self 446 #define __NR_memfd_secret 447 #define __NR_process_mrelease 448 +#define __NR_futex_waitv 449 -- 2.35.1