Skip to content

Commit eb06740

Browse files
committed
tools headers: Sync syscall table with kernel sources
To pick up changes from: b36d4b6 ("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: Namhyung Kim <namhyung@kernel.org>
1 parent 00a7e47 commit eb06740

11 files changed

Lines changed: 13 additions & 1 deletion

File tree

tools/include/uapi/asm-generic/unistd.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,9 +857,11 @@ __SYSCALL(__NR_open_tree_attr, sys_open_tree_attr)
857857
__SYSCALL(__NR_file_getattr, sys_file_getattr)
858858
#define __NR_file_setattr 469
859859
__SYSCALL(__NR_file_setattr, sys_file_setattr)
860+
#define __NR_listns 470
861+
__SYSCALL(__NR_listns, sys_listns)
860862

861863
#undef __NR_syscalls
862-
#define __NR_syscalls 470
864+
#define __NR_syscalls 471
863865

864866
/*
865867
* 32 bit systems traditionally used different

tools/perf/arch/arm/entry/syscalls/syscall.tbl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,3 +484,4 @@
484484
467 common open_tree_attr sys_open_tree_attr
485485
468 common file_getattr sys_file_getattr
486486
469 common file_setattr sys_file_setattr
487+
470 common listns sys_listns

tools/perf/arch/mips/entry/syscalls/syscall_n64.tbl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,3 +384,4 @@
384384
467 n64 open_tree_attr sys_open_tree_attr
385385
468 n64 file_getattr sys_file_getattr
386386
469 n64 file_setattr sys_file_setattr
387+
470 n64 listns sys_listns

tools/perf/arch/powerpc/entry/syscalls/syscall.tbl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,3 +560,4 @@
560560
467 common open_tree_attr sys_open_tree_attr
561561
468 common file_getattr sys_file_getattr
562562
469 common file_setattr sys_file_setattr
563+
470 common listns sys_listns

tools/perf/arch/s390/entry/syscalls/syscall.tbl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,3 +472,4 @@
472472
467 common open_tree_attr sys_open_tree_attr sys_open_tree_attr
473473
468 common file_getattr sys_file_getattr sys_file_getattr
474474
469 common file_setattr sys_file_setattr sys_file_setattr
475+
470 common listns sys_listns sys_listns

tools/perf/arch/sh/entry/syscalls/syscall.tbl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,3 +473,4 @@
473473
467 common open_tree_attr sys_open_tree_attr
474474
468 common file_getattr sys_file_getattr
475475
469 common file_setattr sys_file_setattr
476+
470 common listns sys_listns

tools/perf/arch/sparc/entry/syscalls/syscall.tbl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,3 +515,4 @@
515515
467 common open_tree_attr sys_open_tree_attr
516516
468 common file_getattr sys_file_getattr
517517
469 common file_setattr sys_file_setattr
518+
470 common listns sys_listns

tools/perf/arch/x86/entry/syscalls/syscall_32.tbl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,3 +475,4 @@
475475
467 i386 open_tree_attr sys_open_tree_attr
476476
468 i386 file_getattr sys_file_getattr
477477
469 i386 file_setattr sys_file_setattr
478+
470 i386 listns sys_listns

tools/perf/arch/x86/entry/syscalls/syscall_64.tbl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,7 @@
394394
467 common open_tree_attr sys_open_tree_attr
395395
468 common file_getattr sys_file_getattr
396396
469 common file_setattr sys_file_setattr
397+
470 common listns sys_listns
397398

398399
#
399400
# Due to a historical design error, certain syscalls are numbered differently

tools/perf/arch/xtensa/entry/syscalls/syscall.tbl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,3 +440,4 @@
440440
467 common open_tree_attr sys_open_tree_attr
441441
468 common file_getattr sys_file_getattr
442442
469 common file_setattr sys_file_setattr
443+
470 common listns sys_listns

0 commit comments

Comments
 (0)