aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/asm-generic/unistd.h
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2018-06-20 14:58:10 +0100
committerWill Deacon <will.deacon@arm.com>2018-07-11 13:29:39 +0100
commitdb7a2d1809a5b6b08d138ff68837f805fc073351 (patch)
treebf02bea5c8ef1ba5ab740a38144da97b385013aa /include/uapi/asm-generic/unistd.h
parentarm64: rseq: Implement backend rseq calls and select HAVE_RSEQ (diff)
downloadlinux-dev-db7a2d1809a5b6b08d138ff68837f805fc073351.tar.xz
linux-dev-db7a2d1809a5b6b08d138ff68837f805fc073351.zip
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 <arnd@arndb.de> Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'include/uapi/asm-generic/unistd.h')
-rw-r--r--include/uapi/asm-generic/unistd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h
index 42990676a55e..df4bedb9b01c 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