aboutsummaryrefslogtreecommitdiff
path: root/target/ppc/power8-pmu.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/ppc/power8-pmu.h')
-rw-r--r--target/ppc/power8-pmu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/ppc/power8-pmu.h b/target/ppc/power8-pmu.h
index a839199..256d90f 100644
--- a/target/ppc/power8-pmu.h
+++ b/target/ppc/power8-pmu.h
@@ -13,11 +13,11 @@
#ifndef POWER8_PMU
#define POWER8_PMU
-void cpu_ppc_pmu_init(CPUPPCState *env);
-
#if defined(TARGET_PPC64) && !defined(CONFIG_USER_ONLY)
+void cpu_ppc_pmu_init(CPUPPCState *env);
void pmu_update_summaries(CPUPPCState *env);
#else
+static inline void cpu_ppc_pmu_init(CPUPPCState *env) { }
static inline void pmu_update_summaries(CPUPPCState *env) { }
#endif