summaryrefslogtreecommitdiff
path: root/tools/perf/arch/loongarch/util/header.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/arch/loongarch/util/header.c')
-rw-r--r--tools/perf/arch/loongarch/util/header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/arch/loongarch/util/header.c b/tools/perf/arch/loongarch/util/header.c
index f1f0b116962d..0c6d823334a2 100644
--- a/tools/perf/arch/loongarch/util/header.c
+++ b/tools/perf/arch/loongarch/util/header.c
@@ -90,7 +90,7 @@ out_free:
return ret;
}
-char *get_cpuid_str(struct perf_pmu *pmu __maybe_unused)
+char *get_cpuid_str(struct perf_cpu cpu __maybe_unused)
{
return _get_cpuid();
}