]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/bpf: Fix arena_spin_lock.c build dependency
authorIlya Leoshkevich <iii@linux.ibm.com>
Thu, 24 Apr 2025 16:41:25 +0000 (18:41 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 25 Apr 2025 00:24:27 +0000 (17:24 -0700)
commitddfd1f30b5badcd06c199fa519bec5f0f54892e0
tree589bd9077f9d4efb699a1677c5fedfe556277c79
parent4cc20482143c6dd009ea0c99762bb4bdeac98ec2
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 <iii@linux.ibm.com>
Link: https://lore.kernel.org/r/20250424165525.154403-2-iii@linux.ibm.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/progs/bpf_arena_spin_lock.h [moved from tools/testing/selftests/bpf/bpf_arena_spin_lock.h with 100% similarity]