summaryrefslogtreecommitdiff
path: root/tools/perf/arch/powerpc/include/perf_regs.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/arch/powerpc/include/perf_regs.h')
-rw-r--r--tools/perf/arch/powerpc/include/perf_regs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/arch/powerpc/include/perf_regs.h b/tools/perf/arch/powerpc/include/perf_regs.h
index 75de0e92e71e..c12f4e804f66 100644
--- a/tools/perf/arch/powerpc/include/perf_regs.h
+++ b/tools/perf/arch/powerpc/include/perf_regs.h
@@ -5,6 +5,8 @@
#include <linux/types.h>
#include <asm/perf_regs.h>
+void perf_regs_load(u64 *regs);
+
#define PERF_REGS_MASK ((1ULL << PERF_REG_POWERPC_MAX) - 1)
#define PERF_REGS_MAX PERF_REG_POWERPC_MAX
#ifdef __powerpc64__