From: Will Deacon Date: Wed, 20 Jun 2018 13:58:10 +0000 (+0100) Subject: asm-generic: unistd.h: Wire up sys_rseq X-Git-Tag: v4.19-rc1~154^2~45 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=db7a2d1809a5;p=thirdparty%2Fkernel%2Flinux.git asm-generic: unistd.h: Wire up sys_rseq The new rseq call arrived in 4.18-rc1, so provide it in the asm-generic unistd.h for architectures such as arm64. Acked-by: Arnd Bergmann Acked-by: Mathieu Desnoyers Signed-off-by: Will Deacon --- diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h index 42990676a55e1..df4bedb9b01c2 100644 --- a/include/uapi/asm-generic/unistd.h +++ b/include/uapi/asm-generic/unistd.h @@ -734,9 +734,11 @@ __SYSCALL(__NR_pkey_free, sys_pkey_free) __SYSCALL(__NR_statx, sys_statx) #define __NR_io_pgetevents 292 __SC_COMP(__NR_io_pgetevents, sys_io_pgetevents, compat_sys_io_pgetevents) +#define __NR_rseq 293 +__SYSCALL(__NR_rseq, sys_rseq) #undef __NR_syscalls -#define __NR_syscalls 293 +#define __NR_syscalls 294 /* * 32 bit systems traditionally used different