mbox series

[v2,bpf-next,0/4] selftests/bpf: fix compiling loop{1,2,3}.c on s390

Message ID 20190703132711.57169-1-iii@linux.ibm.com
Headers show
Series selftests/bpf: fix compiling loop{1,2,3}.c on s390 | expand

Message

Ilya Leoshkevich July 3, 2019, 1:27 p.m. UTC
Use PT_REGS_RC(ctx) instead of ctx->rax, which is not present on s390.

This patch series consists of preparatory commits, which make it
possible to use PT_REGS_RC in BPF selftests, followed by the actual fix.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>