]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
perf loongarch: Fix build failure with CONFIG_LIBDW_DWARF_UNWIND
authorWANG Rui <r@hev.cc>
Tue, 14 Apr 2026 00:51:52 +0000 (08:51 +0800)
committerNamhyung Kim <namhyung@kernel.org>
Tue, 14 Apr 2026 07:36:53 +0000 (00:36 -0700)
Building perf for LoongArch fails when CONFIG_LIBDW_DWARF_UNWIND is
enabled because unwind-libdw.o is still referenced in
arch/loongarch/util/Build.

Fixes: e62fae9d9e8 ("perf unwind-libdw: Fix a cross-arch unwinding bug")
Signed-off-by: WANG Rui <r@hev.cc>
Acked-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/arch/loongarch/util/Build

index 3ad73d0289f3ea3768a7312b4cbc1b889040cd13..8d91e78d31c94e30f5b36a7734379147b5ed9f26 100644 (file)
@@ -1,4 +1,3 @@
 perf-util-y += header.o
 
 perf-util-$(CONFIG_LOCAL_LIBUNWIND) += unwind-libunwind.o
-perf-util-$(CONFIG_LIBDW_DWARF_UNWIND) += unwind-libdw.o