Skip to contentSkip to conversation

tools headers uapi: Sync copy of asm-generic/unistd.h with the kernel sources

tip:perf/urgent tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message Jan 8, 2019

lore
Share & tools
lore
#0 lore raw
Commit-ID:  8c91fd605e1a66050c9c4dbc3e159a08e8c5f7d4
Gitweb:     https://git.kernel.org/tip/8c91fd605e1a66050c9c4dbc3e159a08e8c5f7d4
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Fri, 4 Jan 2019 12:08:31 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Fri, 4 Jan 2019 12:54:49 -0300

tools headers uapi: Sync copy of asm-generic/unistd.h with the kernel sources

To get the changes in:

b7d624ab4312 asm-generic: unistd.h: fixup broken macro include. 4e21565b7fd4 asm-generic: add kexec_file_load system call to unistd.h

With this the 'kexec_file_load' syscall will be added to arm64's syscall table and will appear on the output of 'perf trace' on that platform.

This silences this tools/perf build warning:

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

---
 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 c7f3321fbe43..d90127298f12 100644
@@ -738,9 +738,11 @@ __SYSCALL(__NR_statx,     sys_statx)
 __SC_COMP(__NR_io_pgetevents, sys_io_pgetevents, compat_sys_io_pgetevents)
 #define __NR_rseq 293
 __SYSCALL(__NR_rseq, sys_rseq)
+#define __NR_kexec_file_load 294
+__SYSCALL(__NR_kexec_file_load,     sys_kexec_file_load)
 
 #undef __NR_syscalls
-#define __NR_syscalls 294
+#define __NR_syscalls 295
 
 /*
  * 32 bit systems traditionally used different