From ddfd1f30b5badcd06c199fa519bec5f0f54892e0 Mon Sep 17 00:00:00 2001 From: Ilya Leoshkevich Date: Thu, 24 Apr 2025 18:41:25 +0200 Subject: [PATCH] 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 --- tools/testing/selftests/bpf/{ => progs}/bpf_arena_spin_lock.h | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tools/testing/selftests/bpf/{ => progs}/bpf_arena_spin_lock.h (100%) 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 -- 2.50.1