Skip to content

Commit db7a2d1

Browse files
committed
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 <[email protected]> Acked-by: Mathieu Desnoyers <[email protected]> Signed-off-by: Will Deacon <[email protected]>
1 parent 409d5db commit db7a2d1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/uapi/asm-generic/unistd.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,9 +734,11 @@ __SYSCALL(__NR_pkey_free, sys_pkey_free)
734734
__SYSCALL(__NR_statx, sys_statx)
735735
#define __NR_io_pgetevents 292
736736
__SC_COMP(__NR_io_pgetevents, sys_io_pgetevents, compat_sys_io_pgetevents)
737+
#define __NR_rseq 293
738+
__SYSCALL(__NR_rseq, sys_rseq)
737739

738740
#undef __NR_syscalls
739-
#define __NR_syscalls 293
741+
#define __NR_syscalls 294
740742

741743
/*
742744
* 32 bit systems traditionally used different

0 commit comments

Comments
 (0)