These syscalls are from tests of some software I came across.
None is PLA except ptrace. Have checked that none of the generic/linux-generic wrappers has architecture-specific stuff.
riscv64 don't have ptrace actions like PTRACE_GET/SETREGS or PTRACE_GET/SETFPREGS but only the generic ones on Linux. So it should be OK to use generic wrappers like what arm64 does.
These syscalls are from tests of some software I came across. None is
PLA
exceptptrace
. Have checked that none of the generic/linux-generic wrappers has architecture-specific stuff. riscv64 don't have ptrace actions likePTRACE_GET/SETREGS
orPTRACE_GET/SETFPREGS
but only the generic ones on Linux. So it should be OK to use generic wrappers like what arm64 does.Run clang-format on the two files BTW.