diff options
author | Yonghong Song | 2020-06-23 16:08:16 -0700 |
---|---|---|
committer | Alexei Starovoitov | 2020-06-24 18:37:59 -0700 |
commit | 84544f5637ff3501876ba96bd48ca900317e08fb (patch) | |
tree | c7eac342801bdc50036e0920756d70dc5eda19cd /mm | |
parent | 0d4fad3e57df2bf61e8ffc8d12a34b1caf9b8835 (diff) |
selftests/bpf: Move newer bpf_iter_* type redefining to a new header file
Commit b9f4c01f3e0b ("selftest/bpf: Make bpf_iter selftest
compilable against old vmlinux.h") and Commit dda18a5c0b75
("selftests/bpf: Convert bpf_iter_test_kern{3, 4}.c to define
own bpf_iter_meta") redefined newly introduced types
in bpf programs so the bpf program can still compile
properly with old kernels although loading may fail.
Since this patch set introduced new types and the same
workaround is needed, so let us move the workaround
to a separate header file so they do not clutter
bpf programs.
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/bpf/20200623230816.3988656-1-yhs@fb.com
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions