From 486536c2b981e76fe45aca3850c273cf4c43f873 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sat, 7 Nov 2009 09:32:21 +0000 Subject: PPC: remove unneeded calls to device reset Signed-off-by: Blue Swirl --- target-ppc/helper.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'target-ppc') diff --git a/target-ppc/helper.c b/target-ppc/helper.c index 5c85c6120a..084d36f78b 100644 --- a/target-ppc/helper.c +++ b/target-ppc/helper.c @@ -2811,7 +2811,9 @@ CPUPPCState *cpu_ppc_init (const char *cpu_model) ppc_translate_init(); env->cpu_model_str = cpu_model; cpu_ppc_register_internal(env, def); +#if defined(CONFIG_USER_ONLY) cpu_ppc_reset(env); +#endif qemu_init_vcpu(env); -- cgit v1.2.3