>From 0c6bf617d5696dda28ecac776c09b3f5b3921526 Mon Sep 17 00:00:00 2001 From: ferar achkar Date: Tue, 17 Mar 2020 18:15:37 -0400 Subject: [PATCH] Fix Arm64 libunwind trivial compile error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix trivial compile error 'no previous prototype for ‘libunwind__arm64_reg_id’' [-Werror=missing-prototypes], this error related to including userspace bundled 'unwind.h' instead of using perf's local version. --- tools/perf/util/libunwind/arm64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/libunwind/arm64.c b/tools/perf/util/libunwind/arm64.c index 6b4e5a089..fd26e612d 100644 --- a/tools/perf/util/libunwind/arm64.c +++ b/tools/perf/util/libunwind/arm64.c @@ -21,7 +21,7 @@ #define LIBUNWIND__ARCH_REG_IP PERF_REG_ARM64_PC #define LIBUNWIND__ARCH_REG_SP PERF_REG_ARM64_SP -#include "unwind.h" +#include "../../util/unwind.h" #include "libunwind-aarch64.h" #include <../../../../arch/arm64/include/uapi/asm/perf_regs.h> #include "../../arch/arm64/util/unwind-libunwind.c" -- 2.17.1