summaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/riscv/util/header.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/arch/riscv/util/header.c')
-rw-r--r--tools/perf/arch/riscv/util/header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/arch/riscv/util/header.c b/tools/perf/arch/riscv/util/header.c
index ebac294c877f..4b839203d4a5 100644
--- a/tools/perf/arch/riscv/util/header.c
+++ b/tools/perf/arch/riscv/util/header.c
@@ -98,7 +98,7 @@ free:
}
char *
-get_cpuid_str(struct perf_pmu *pmu __maybe_unused)
+get_cpuid_str(struct perf_cpu cpu __maybe_unused)
{
return _get_cpuid();
}