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 Mar 22, 2019

lore
Share & tools
lore
#0 lore raw
Commit-ID:  1a787fc5ba18ac767e635c58d06a0b46876184e3
Gitweb:     https://git.kernel.org/tip/1a787fc5ba18ac767e635c58d06a0b46876184e3
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Mon, 11 Mar 2019 13:30:08 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Mon, 11 Mar 2019 16:13:04 -0300

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

To get the changes in:

c8ce48f06503 ("asm-generic: Make time32 syscall numbers optional")

Silencing these tools/perf build warnings:

Warning: Kernel ABI header at 'tools/arch/arm64/include/uapi/asm/unistd.h' differs from latest version at 'arch/arm64/include/uapi/asm/unistd.h' diff -u tools/arch/arm64/include/uapi/asm/unistd.h arch/arm64/include/uapi/asm/unistd.h
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

Test built it under the ubuntu:14.04.4-x-linaro-arm64 cross build environment and looked at the syscall table at /tmp/build/perf/arch/arm64/include/generated/asm/syscalls.c, looks ok.

Cc Adrian Hunter <[email protected]>
Cc Alexander Shishkin <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc Hendrik Brueckner <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Kim Phillips <[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]>
---
 tools/arch/arm64/include/uapi/asm/unistd.h |   2 +
 tools/include/uapi/asm-generic/unistd.h    | 149 ++++++++++++++++++++++-------
 2 files changed, 118 insertions(+), 33 deletions(-)
tools/arch/arm64/include/uapi/asm/unistd.h +2 -0
index dae1584cf017..4703d218663a 100644
@@ -17,5 +17,7 @@
 
 #define __ARCH_WANT_RENAMEAT
 #define __ARCH_WANT_NEW_STAT
+#define __ARCH_WANT_SET_GET_RLIMIT
+#define __ARCH_WANT_TIME32_SYSCALLS
 
 #include <asm-generic/unistd.h>
tools/include/uapi/asm-generic/unistd.h +116 -33

296 lines not on this page · raw message