aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorIlya Leoshkevich <[email protected]>2022-02-09 02:17:41 +0000
committerAndrii Nakryiko <[email protected]>2022-02-09 05:16:14 +0000
commitcf0b5b2769233b026cfa41206109dea77b0d17e3 (patch)
tree4c3c7c2bc38e6b654c7dfb4efe2cb58701add523 /net/switchdev/switchdev.c
parentlibbpf: Fix riscv register names (diff)
downloadkernel-cf0b5b2769233b026cfa41206109dea77b0d17e3.tar.gz
kernel-cf0b5b2769233b026cfa41206109dea77b0d17e3.zip
libbpf: Fix accessing syscall arguments on riscv
riscv does not select ARCH_HAS_SYSCALL_WRAPPER, so its syscall handlers take "unpacked" syscall arguments. Indicate this to libbpf using PT_REGS_SYSCALL_REGS macro. Reported-by: Heiko Carstens <[email protected]> Signed-off-by: Ilya Leoshkevich <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions