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