Re: [PATCH 1/1] futex: Wireup futex_waitv syscall
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: André Almeida <andrealmeid@xxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, arnd@xxxxxxxx, geert@xxxxxxxxxxxxxx, monstr@xxxxxxxxx, ysato@xxxxxxxxxxxxx, dalias@xxxxxxxx, davem@xxxxxxxxxxxxx, chris@xxxxxxxxxx, jcmvbkbc@xxxxxxxxx, linux-alpha@xxxxxxxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, linux-m68k@xxxxxxxxxxxxxxx, linuxppc-dev@xxxxxxxxxxxxxxxx, linux-sh@xxxxxxxxxxxxxxx, sparclinux@xxxxxxxxxxxxxxx, linux-xtensa@xxxxxxxxxxxxxxxx
- Subject: Re: [PATCH 1/1] futex: Wireup futex_waitv syscall
- From: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
- Date: Thu, 25 Nov 2021 10:07:23 +1100
- Cc: akpm@xxxxxxxxxxxxxxxxxxxx, andrealmeid@xxxxxxxxxxxxx, bigeasy@xxxxxxxxxxxxx, boqun.feng@xxxxxxxxx, linux-next@xxxxxxxxxxxxxxx, lkft-triage@xxxxxxxxxxxxxxxx, longman@xxxxxxxxxx, minchan@xxxxxxxxxx, mingo@xxxxxxxxxx, naresh.kamboju@xxxxxxxxxx, peterz@xxxxxxxxxxxxx, rob@xxxxxxxxxxx, senozhatsky@xxxxxxxxxxxx, sfr@xxxxxxxxxxxxxxxx, umgwanakikbuti@xxxxxxxxx, will@xxxxxxxxxx
- In-reply-to: <20211124132112.11641-1-andrealmeid@collabora.com>
- References: <CAK8P3a3pQW59NVF=5P+ZiBjNJmnWh+iTZUHvqHBrXkHA6pMd4g@mail.gmail.com> <20211124132112.11641-1-andrealmeid@collabora.com>
André Almeida <andrealmeid@xxxxxxxxxxxxx> writes:
> diff --git a/arch/powerpc/kernel/syscalls/syscall.tbl b/arch/powerpc/kernel/syscalls/syscall.tbl
> index 7bef917cc84e..15109af9d075 100644
> --- a/arch/powerpc/kernel/syscalls/syscall.tbl
> +++ b/arch/powerpc/kernel/syscalls/syscall.tbl
> @@ -528,3 +528,4 @@
> 446 common landlock_restrict_self sys_landlock_restrict_self
> # 447 reserved for memfd_secret
> 448 common process_mrelease sys_process_mrelease
> +449 common futex_waitv sys_futex_waitv
Tested-by: Michael Ellerman <mpe@xxxxxxxxxxxxxx> (powerpc)
The selftest doesn't build with old headers, I needed this:
diff --git a/tools/testing/selftests/futex/include/futex2test.h b/tools/testing/selftests/futex/include/futex2test.h
index 9d305520e849..e6422321e9d0 100644
--- a/tools/testing/selftests/futex/include/futex2test.h
+++ b/tools/testing/selftests/futex/include/futex2test.h
@@ -8,6 +8,10 @@
#define u64_to_ptr(x) ((void *)(uintptr_t)(x))
+#ifndef __NR_futex_waitv
+#define __NR_futex_waitv 449
+#endif
+
/**
* futex_waitv - Wait at multiple futexes, wake on any
* @waiters: Array of waiters
cheers
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]