]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - tools/perf/arch/powerpc/include/perf_regs.h
perf tools: Fix arm64 build error with gcc-11
[mirror_ubuntu-hirsute-kernel.git] / tools / perf / arch / powerpc / include / perf_regs.h
index 63f3ac91049f771fb4ac8d0240ffce53ad47f6f7..004bed2286931a0fc9289703d92eed009970a09c 100644 (file)
@@ -73,7 +73,7 @@ static const char *reg_names[] = {
        [PERF_REG_POWERPC_SIER3] = "sier3",
 };
 
-static inline const char *perf_reg_name(int id)
+static inline const char *__perf_reg_name(int id)
 {
        return reg_names[id];
 }