diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2022-02-09 03:17:37 +0100 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2022-02-08 21:16:14 -0800 |
commit | c5a1ffa0da76da02afc20a0946b594830488b324 (patch) | |
tree | 92f410beeca2af25708edf40a41051fb2c0031d3 /tools/testing/selftests/bpf/test_xdp_vlan.sh | |
parent | 4fc49b51ab9d58e830f9df37ea775625ea966d50 (diff) | |
download | linux-c5a1ffa0da76da02afc20a0946b594830488b324.tar.gz linux-c5a1ffa0da76da02afc20a0946b594830488b324.tar.bz2 linux-c5a1ffa0da76da02afc20a0946b594830488b324.zip |
libbpf: Add PT_REGS_SYSCALL_REGS macro
Architectures that select ARCH_HAS_SYSCALL_WRAPPER pass a pointer to
struct pt_regs to syscall handlers, others unpack it into individual
function parameters. Introduce a macro to describe what a particular
arch does.
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220209021745.2215452-3-iii@linux.ibm.com
Diffstat (limited to 'tools/testing/selftests/bpf/test_xdp_vlan.sh')
0 files changed, 0 insertions, 0 deletions