From 00baddbb938a91c8677a81903a0bb254399e107f Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Fri, 19 Nov 2021 15:33:16 -0300 Subject: linux: Add generic syscall implementation It allows also to remove hppa specific implementation and simplify riscv implementation a bit. --- sysdeps/unix/sysv/linux/riscv/syscall.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdeps/unix/sysv/linux/riscv') 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); -- cgit 1.4.1