]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
selftests/bpf: Stop using relaxed_core_relocs which has no effect
authorAndrii Nakryiko <andrii@kernel.org>
Thu, 16 Sep 2021 01:58:31 +0000 (18:58 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 17 Sep 2021 16:04:12 +0000 (09:04 -0700)
relaxed_core_relocs option hasn't had any effect for a while now, stop
specifying it. Next patch marks it as deprecated.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20210916015836.1248906-3-andrii@kernel.org
tools/testing/selftests/bpf/prog_tests/core_reloc.c

index 15d355af8d1d2b3918a88d6605ebf112490b06a0..763302e63a29485941d87fdb03ef71cb78d6a719 100644 (file)
@@ -249,8 +249,7 @@ static int duration = 0;
 #define SIZE_CASE_COMMON(name)                                         \
        .case_name = #name,                                             \
        .bpf_obj_file = "test_core_reloc_size.o",                       \
-       .btf_src_file = "btf__core_reloc_" #name ".o",                  \
-       .relaxed_core_relocs = true
+       .btf_src_file = "btf__core_reloc_" #name ".o"
 
 #define SIZE_OUTPUT_DATA(type)                                         \
        STRUCT_TO_CHAR_PTR(core_reloc_size_output) {                    \