]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - tools/perf/arch/arm64/include/perf_regs.h
perf tools: Fix arm64 build error with gcc-11
[mirror_ubuntu-hirsute-kernel.git] / tools / perf / arch / arm64 / include / perf_regs.h
index baaa5e64a3fb0d21fd33172d78d30932e1e14174..fa3e07459f7688a38543084120687ae1f3d60b36 100644 (file)
@@ -15,7 +15,7 @@ void perf_regs_load(u64 *regs);
 #define PERF_REG_IP    PERF_REG_ARM64_PC
 #define PERF_REG_SP    PERF_REG_ARM64_SP
 
-static inline const char *perf_reg_name(int id)
+static inline const char *__perf_reg_name(int id)
 {
        switch (id) {
        case PERF_REG_ARM64_X0: