diff options
author | Sandipan Das <sandipan@linux.ibm.com> | 2018-12-06 12:27:01 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-12-10 01:32:12 +0300 |
commit | 51a11b14c29c6c7cc985c6ce7dd9e20f61cf7f0a (patch) | |
tree | 3744afb9a958ac8ade17042d0ae511284da7f69d /tools/testing/selftests/bpf/test_verifier.c | |
parent | ec3d837aac5dca7cb8a69c9f101690c182da79c4 (diff) | |
download | linux-51a11b14c29c6c7cc985c6ce7dd9e20f61cf7f0a.tar.xz |
bpf: powerpc: fix broken uapi for BPF_PROG_TYPE_PERF_EVENT
Now that there are different variants of pt_regs for userspace and
kernel, the uapi for the BPF_PROG_TYPE_PERF_EVENT program type must
be changed by exporting the user_pt_regs structure instead of the
pt_regs structure that is in-kernel only.
Fixes: 002af9391bfb ("powerpc: Split user/kernel definitions of struct pt_regs")
Signed-off-by: Sandipan Das <sandipan@linux.ibm.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/test_verifier.c')
0 files changed, 0 insertions, 0 deletions