summaryrefslogtreecommitdiff
path: root/stun.c
diff options
context:
space:
mode:
Diffstat (limited to 'stun.c')
0 files changed, 0 insertions, 0 deletions
857a7c2927a4297fc66c3b'>41e787570b3556b00b59ffcba6d0ba826a62ebf2 parent7a99cd6e213685b78118382e6a8fed506c82ccb2 (diff)
bpf/samples: Fix PT_REGS_IP on s390x and use it
The files "sampleip_kern.c" and "trace_event_kern.c" directly access "ctx->regs.ip" which is not available on s390x. Fix this and use the PT_REGS_IP() macro instead. Also fix the macro for s390x and use "psw.addr" from "pt_regs". Reported-by: Zvonko Kosic <zvonko.kosic@de.ibm.com> Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat