Commit eb067401 authored by Namhyung Kim's avatar Namhyung Kim
Browse files

tools headers: Sync syscall table with kernel sources



To pick up changes from:

  b36d4b6a ("arch: hookup listns() system call")

This should be used to beautify the syscall arguments and it addresses
these tools/perf build warnings:

  Warning: Kernel ABI header differences:
    diff -u tools/include/uapi/asm-generic/unistd.h include/uapi/asm-generic/unistd.h
    diff -u tools/scripts/syscall.tbl scripts/syscall.tbl
    diff -u tools/perf/arch/x86/entry/syscalls/syscall_32.tbl arch/x86/entry/syscalls/syscall_32.tbl
    diff -u tools/perf/arch/x86/entry/syscalls/syscall_64.tbl arch/x86/entry/syscalls/syscall_64.tbl
    diff -u tools/perf/arch/powerpc/entry/syscalls/syscall.tbl arch/powerpc/kernel/syscalls/syscall.tbl
    diff -u tools/perf/arch/s390/entry/syscalls/syscall.tbl arch/s390/kernel/syscalls/syscall.tbl
    diff -u tools/perf/arch/mips/entry/syscalls/syscall_n64.tbl arch/mips/kernel/syscalls/syscall_n64.tbl
    diff -u tools/perf/arch/arm/entry/syscalls/syscall.tbl arch/arm/tools/syscall.tbl
    diff -u tools/perf/arch/sh/entry/syscalls/syscall.tbl arch/sh/kernel/syscalls/syscall.tbl
    diff -u tools/perf/arch/sparc/entry/syscalls/syscall.tbl arch/sparc/kernel/syscalls/syscall.tbl
    diff -u tools/perf/arch/xtensa/entry/syscalls/syscall.tbl arch/xtensa/kernel/syscalls/syscall.tbl

Please see tools/include/uapi/README.

Note that s390 syscall table is still out of sync as it switches to use the
generic table.  But I'd like to minimize the change in this commit.

Cc: linux-arch@vger.kernel.org
Signed-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
parent 00a7e470
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -857,9 +857,11 @@ __SYSCALL(__NR_open_tree_attr, sys_open_tree_attr)
__SYSCALL(__NR_file_getattr, sys_file_getattr)
#define __NR_file_setattr 469
__SYSCALL(__NR_file_setattr, sys_file_setattr)
#define __NR_listns 470
__SYSCALL(__NR_listns, sys_listns)

#undef __NR_syscalls
#define __NR_syscalls 470
#define __NR_syscalls 471

/*
 * 32 bit systems traditionally used different
+1 −0
Original line number Diff line number Diff line
@@ -484,3 +484,4 @@
467	common	open_tree_attr			sys_open_tree_attr
468	common	file_getattr			sys_file_getattr
469	common	file_setattr			sys_file_setattr
470	common	listns				sys_listns
+1 −0
Original line number Diff line number Diff line
@@ -384,3 +384,4 @@
467	n64	open_tree_attr			sys_open_tree_attr
468	n64	file_getattr			sys_file_getattr
469	n64	file_setattr			sys_file_setattr
470	n64	listns				sys_listns
+1 −0
Original line number Diff line number Diff line
@@ -560,3 +560,4 @@
467	common	open_tree_attr			sys_open_tree_attr
468	common	file_getattr			sys_file_getattr
469	common	file_setattr			sys_file_setattr
470	common	listns				sys_listns
+1 −0
Original line number Diff line number Diff line
@@ -472,3 +472,4 @@
467  common	open_tree_attr		sys_open_tree_attr		sys_open_tree_attr
468  common	file_getattr		sys_file_getattr		sys_file_getattr
469  common	file_setattr		sys_file_setattr		sys_file_setattr
470  common	listns			sys_listns			sys_listns
Loading