diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-11-19 15:33:16 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-12-06 08:03:11 -0300 |
commit | 00baddbb938a91c8677a81903a0bb254399e107f (patch) | |
tree | e5358060c59b9734b09e4ea40b9acdeb158fc47f /sysdeps/unix/sysv/linux/riscv/syscall.c | |
parent | 68007900beef12000ed90f38c251eaf32fbc0490 (diff) | |
download | glibc-00baddbb938a91c8677a81903a0bb254399e107f.zip glibc-00baddbb938a91c8677a81903a0bb254399e107f.tar.gz glibc-00baddbb938a91c8677a81903a0bb254399e107f.tar.bz2 |
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/syscall.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/riscv/syscall.c | 4 |
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 2748afc..f46aa77 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); |