diff options
author | Jesper Dangaard Brouer <brouer@redhat.com> | 2020-06-09 16:31:52 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-06-09 21:36:19 +0300 |
commit | 042b1545fe47788e734b0f074a8ae65856015cdf (patch) | |
tree | ce52d0d30b9d923882633c776b073d80bc812cf3 /tools/testing/selftests/bpf/progs/test_xdp_with_devmap_helpers.c | |
parent | 281920b7e0b31e0a7706433ff58e7d52ac97c327 (diff) | |
download | linux-042b1545fe47788e734b0f074a8ae65856015cdf.tar.xz |
bpf: Selftests and tools use struct bpf_devmap_val from uapi
Sync tools uapi bpf.h header file and update selftests that use
struct bpf_devmap_val.
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/159170951195.2102545.1833108712124273987.stgit@firesoul
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_xdp_with_devmap_helpers.c')
-rw-r--r-- | tools/testing/selftests/bpf/progs/test_xdp_with_devmap_helpers.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/testing/selftests/bpf/progs/test_xdp_with_devmap_helpers.c b/tools/testing/selftests/bpf/progs/test_xdp_with_devmap_helpers.c index deef0e050863..330811260123 100644 --- a/tools/testing/selftests/bpf/progs/test_xdp_with_devmap_helpers.c +++ b/tools/testing/selftests/bpf/progs/test_xdp_with_devmap_helpers.c @@ -1,6 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 - -#include "vmlinux.h" +#include <linux/bpf.h> #include <bpf/bpf_helpers.h> struct { |