about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/riscv
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-11-19 15:33:16 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-12-06 08:03:11 -0300
commit00baddbb938a91c8677a81903a0bb254399e107f (patch)
treee5358060c59b9734b09e4ea40b9acdeb158fc47f /sysdeps/unix/sysv/linux/riscv
parent68007900beef12000ed90f38c251eaf32fbc0490 (diff)
downloadglibc-00baddbb938a91c8677a81903a0bb254399e107f.tar.gz
glibc-00baddbb938a91c8677a81903a0bb254399e107f.tar.xz
glibc-00baddbb938a91c8677a81903a0bb254399e107f.zip
linux: Add generic syscall implementation
It allows also to remove hppa specific implementation and simplify
riscv implementation a bit.
Diffstat (limited to 'sysdeps/unix/sysv/linux/riscv')
-rw-r--r--sysdeps/unix/sysv/linux/riscv/syscall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/riscv/syscall.c b/sysdeps/unix/sysv/linux/riscv/syscall.c
index 2748afcd90..f46aa77b00 100644
--- a/sysdeps/unix/sysv/linux/riscv/syscall.c
+++ b/sysdeps/unix/sysv/linux/riscv/syscall.c
@@ -24,8 +24,8 @@ syscall (long int syscall_number, long int arg1, long int arg2, long int arg3,
 {
   long int ret;
 
-  ret = INTERNAL_SYSCALL_NCS (syscall_number, 7, arg1, arg2, arg3, arg4,
-			      arg5, arg6, arg7);
+  ret = INTERNAL_SYSCALL_NCS_CALL (syscall_number, arg1, arg2, arg3, arg4,
+				   arg5, arg6, arg7);
 
   if (INTERNAL_SYSCALL_ERROR_P (ret))
     return __syscall_error (ret);