diff options
Diffstat (limited to 'target-ppc/helper.c')
-rw-r--r-- | target-ppc/helper.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/target-ppc/helper.c b/target-ppc/helper.c index 084d36f78b..8d383e0d5a 100644 --- a/target-ppc/helper.c +++ b/target-ppc/helper.c @@ -2748,9 +2748,8 @@ void cpu_dump_rfi (target_ulong RA, target_ulong msr) TARGET_FMT_lx "\n", RA, msr); } -void cpu_ppc_reset (void *opaque) +void cpu_reset(CPUPPCState *env) { - CPUPPCState *env = opaque; target_ulong msr; if (qemu_loglevel_mask(CPU_LOG_RESET)) { @@ -2812,7 +2811,7 @@ CPUPPCState *cpu_ppc_init (const char *cpu_model) env->cpu_model_str = cpu_model; cpu_ppc_register_internal(env, def); #if defined(CONFIG_USER_ONLY) - cpu_ppc_reset(env); + cpu_reset(env); #endif qemu_init_vcpu(env); |