Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yetist committed Oct 14, 2022
1 parent abe92ba commit e4ed228
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/arch-syscall-validate
Original file line number Diff line number Diff line change
Expand Up @@ -317,10 +317,10 @@ function dump_sys_loongarch64() {
local sed_filter=""

sed_filter+='s/__NR3264_fadvise64/223/;'
sed_filter+='s/__NR3264_fstatat//;'
sed_filter+='s/__NR3264_fcntl/25/;'
sed_filter+='s/__NR3264_fstatfs/44/;'
sed_filter+='s/__NR3264_fstatat/79/;'
sed_filter+='s/__NR3264_fstat/80/;'
sed_filter+='s/__NR3264_fstat//;'
sed_filter+='s/__NR3264_ftruncate/46/;'
sed_filter+='s/__NR3264_lseek/62/;'
sed_filter+='s/__NR3264_lstat/1039/;'
Expand All @@ -332,6 +332,7 @@ function dump_sys_loongarch64() {

gcc -E -dM -I$1/include/uapi \
-D__BITS_PER_LONG=64 \
-D__ARCH_WANT_NEW_STAT \
-D__ARCH_WANT_SYS_CLONE \
-D__ARCH_WANT_SYS_CLONE3 \
$1/arch/loongarch/include/uapi/asm/unistd.h | \
Expand Down

0 comments on commit e4ed228

Please sign in to comment.