summaryrefslogtreecommitdiff
path: root/target-ppc
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-11-07 09:32:21 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-11-07 09:32:21 +0000
commit486536c2b981e76fe45aca3850c273cf4c43f873 (patch)
tree79ec2322ea7cf2e5bc242c4fcc4c901003ecba60 /target-ppc
parent369d16d5e0eecc7d929f0cf9718f03b748cc361b (diff)
downloadqemu-486536c2b981e76fe45aca3850c273cf4c43f873.tar.gz
qemu-486536c2b981e76fe45aca3850c273cf4c43f873.tar.bz2
qemu-486536c2b981e76fe45aca3850c273cf4c43f873.zip
PPC: remove unneeded calls to device reset
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-ppc')
-rw-r--r--target-ppc/helper.c2
1 files changed, 2 insertions, 0 deletions
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);