diff options
author | Jerry Crunchtime <jerry.c.t@web.de> | 2020-07-31 17:08:01 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-07-31 17:20:49 +0200 |
commit | 1acf8f90ea7ee59006d0474275922145ac291331 (patch) | |
tree | 50962eb52b976def5e7846a393b1d8fc12307503 /tools/testing/selftests/bpf/test_dev_cgroup.c | |
parent | c64c9c282a9a7ec0515b725d5aaed68c32e403a4 (diff) | |
download | linux-1acf8f90ea7ee59006d0474275922145ac291331.tar.gz linux-1acf8f90ea7ee59006d0474275922145ac291331.tar.bz2 linux-1acf8f90ea7ee59006d0474275922145ac291331.zip |
libbpf: Fix register in PT_REGS MIPS macros
The o32, n32 and n64 calling conventions require the return
value to be stored in $v0 which maps to $2 register, i.e.,
the register 2.
Fixes: c1932cd ("bpf: Add MIPS support to samples/bpf.")
Signed-off-by: Jerry Crunchtime <jerry.c.t@web.de>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/43707d31-0210-e8f0-9226-1af140907641@web.de
Diffstat (limited to 'tools/testing/selftests/bpf/test_dev_cgroup.c')
0 files changed, 0 insertions, 0 deletions