>From 71bb136d040b63349a92c55634aff8bd263c0a80 Mon Sep 17 00:00:00 2001 From: wanghongliang Date: Wed, 28 Feb 2024 06:38:08 +0800 Subject: [PATCH] LoongArch:bits/syscall.h:update syscall number. Delete __NR_getrlimit and __NR_setrlimit, which are not supported in LoongArch in linux kernel. Add 441-446, 448-456 syscall number. Signed-off-by: wanghongliang --- arch/loongarch64/bits/syscall.h.in | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/arch/loongarch64/bits/syscall.h.in b/arch/loongarch64/bits/syscall.h.in index 0980e533..2afb4ea1 100644 --- a/arch/loongarch64/bits/syscall.h.in +++ b/arch/loongarch64/bits/syscall.h.in @@ -158,8 +158,6 @@ #define __NR_uname 160 #define __NR_sethostname 161 #define __NR_setdomainname 162 -#define __NR_getrlimit 163 -#define __NR_setrlimit 164 #define __NR_getrusage 165 #define __NR_umask 166 #define __NR_prctl 167 @@ -292,6 +290,21 @@ #define __NR_pidfd_getfd 438 #define __NR_faccessat2 439 #define __NR_process_madvise 440 +#define __NR_epoll_pwait2 441 +#define __NR_mount_setattr 442 +#define __NR_quotactl_fd 443 +#define __NR_landlock_create_ruleset 444 +#define __NR_landlock_add_rule 445 +#define __NR_landlock_restrict_self 446 +#define __NR_process_mrelease 448 +#define __NR_futex_waitv 449 +#define __NR_set_mempolicy_home_node 450 +#define __NR_cachestat 451 +#define __NR_fchmodat2 452 +#define __NR_map_shadow_stack 453 +#define __NR_futex_wake 454 +#define __NR_futex_wait 455 +#define __NR_futex_requeue 456 #define __NR_fcntl __NR3264_fcntl #define __NR_statfs __NR3264_statfs #define __NR_fstatfs __NR3264_fstatfs -- 2.37.1