Skip to contentSkip to conversation

tools headers uapi: Update tools's copy of asm-generic/unistd.h

tip:perf/urgent tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message Sep 12, 2018

lore
Share & tools
lore
#0 lore raw
Commit-ID:  f9e6e4351e0bb0811a8b3696679cc6050e4f5947
Gitweb:     https://git.kernel.org/tip/f9e6e4351e0bb0811a8b3696679cc6050e4f5947
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Tue, 11 Sep 2018 11:00:54 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Tue, 11 Sep 2018 11:04:43 -0300

tools headers uapi: Update tools's copy of asm-generic/unistd.h

To get the changes in:

	db7a2d1809a5 ("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]>
---
 tools/include/uapi/asm-generic/unistd.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
tools/include/uapi/asm-generic/unistd.h +3 -1
index 42990676a55e..df4bedb9b01c 100644
@@ -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