Skip to content
Commit 8a412c5c authored by Alexandre Ghiti's avatar Alexandre Ghiti Committed by Andrii Nakryiko
Browse files

libbpf: Fix syscall access arguments on riscv

Since commit 08d0ce30 ("riscv: Implement syscall wrappers"), riscv
selects ARCH_HAS_SYSCALL_WRAPPER so let's use the generic implementation
of PT_REGS_SYSCALL_REGS().

Fixes: 08d0ce30

 ("riscv: Implement syscall wrappers")
Signed-off-by: default avatarAlexandre Ghiti <alexghiti@rivosinc.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Reviewed-by: default avatarSami Tolvanen <samitolvanen@google.com>
Link: https://lore.kernel.org/bpf/20231004110905.49024-2-bjorn@kernel.org
parent 93fb2776
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment