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