Skip to content

Commit 17d27fc

Browse files
committed
tools headers UAPI: Sync asm-generic/unistd.h with the kernel original
To pick the changes in: 8b1462b ("quota: finish disable quotactl_path syscall") Those headers are used in some arches to generate the syscall table used in 'perf trace' to translate syscall numbers into strings. This addresses this 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 Cc: Jan Kara <[email protected]> Cc: Marcin Juszkiewicz <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent ef83f9e commit 17d27fc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -863,8 +863,7 @@ __SYSCALL(__NR_process_madvise, sys_process_madvise)
863863
__SC_COMP(__NR_epoll_pwait2, sys_epoll_pwait2, compat_sys_epoll_pwait2)
864864
#define __NR_mount_setattr 442
865865
__SYSCALL(__NR_mount_setattr, sys_mount_setattr)
866-
#define __NR_quotactl_path 443
867-
__SYSCALL(__NR_quotactl_path, sys_quotactl_path)
866+
/* 443 is reserved for quotactl_path */
868867

869868
#define __NR_landlock_create_ruleset 444
870869
__SYSCALL(__NR_landlock_create_ruleset, sys_landlock_create_ruleset)

0 commit comments

Comments
 (0)