Skip to content

Commit f9e6e43

Browse files
committed
tools headers uapi: Update tools's copy of asm-generic/unistd.h
To get the changes in: db7a2d1 ("asm-generic: unistd.h: Wire up sys_rseq") That wires up the new 'rsec' system call, which will automagically support that syscall in the syscall table used by 'perf trace' on arm/arm64. This cures the following warning during perf's build: Warning: Kernel ABI header at 'tools/include/uapi/asm-generic/unistd.h' differs from latest version at 'include/uapi/asm-generic/unistd.h' diff -u tools/include/uapi/asm-generic/unistd.h include/uapi/asm-generic/unistd.h Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: David Ahern <[email protected]> Cc: Hendrik Brueckner <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kim Phillips <[email protected]> Cc: Mathieu Desnoyers <[email protected]> Cc: Michael Ellerman <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Ravi Bangoria <[email protected]> Cc: Thomas Richter <[email protected]> Cc: Wang Nan <[email protected]> Cc: Will Deacon <[email protected]> Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 0ee03d9 commit f9e6e43

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/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)