Skip to content
Snippets Groups Projects
Commit af3c24e0 authored by Ilya Leoshkevich's avatar Ilya Leoshkevich Committed by Daniel Borkmann
Browse files

selftests/bpf: fix compiling loop{1, 2, 3}.c on s390


Use PT_REGS_RC(ctx) instead of ctx->rax, which is not present on s390.

Signed-off-by: default avatarIlya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: default avatarStanislav Fomichev <sdf@google.com>
Tested-by: default avatarStanislav Fomichev <sdf@google.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
parent 7cd04535
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment