commit | 1acf8f90ea7ee59006d0474275922145ac291331 | [log] [tgz] |
---|---|---|
author | Jerry Crunchtime <jerry.c.t@web.de> | Fri Jul 31 17:08:01 2020 +0200 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Fri Jul 31 17:20:49 2020 +0200 |
tree | 50962eb52b976def5e7846a393b1d8fc12307503 | |
parent | c64c9c282a9a7ec0515b725d5aaed68c32e403a4 [diff] |
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