From: Ilya Leoshkevich Date: Thu, 24 Apr 2025 16:41:25 +0000 (+0200) Subject: selftests/bpf: Fix arena_spin_lock.c build dependency X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=ddfd1f30b5badcd06c199fa519bec5f0f54892e0;p=users%2Fdwmw2%2Flinux.git selftests/bpf: Fix arena_spin_lock.c build dependency Changing bpf_arena_spin_lock.h does not lead to recompiling arena_spin_lock.c. By convention, all BPF progs depend on all header files in progs/, so move this header file there. There are no other users besides arena_spin_lock.c. Signed-off-by: Ilya Leoshkevich Link: https://lore.kernel.org/r/20250424165525.154403-2-iii@linux.ibm.com Signed-off-by: Alexei Starovoitov --- diff --git a/tools/testing/selftests/bpf/bpf_arena_spin_lock.h b/tools/testing/selftests/bpf/progs/bpf_arena_spin_lock.h similarity index 100% rename from tools/testing/selftests/bpf/bpf_arena_spin_lock.h rename to tools/testing/selftests/bpf/progs/bpf_arena_spin_lock.h