From a01d6ef44622a2baf799a207809d090ca9882468 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sat, 7 Nov 2009 08:55:24 +0000 Subject: sparc32 (mostly): remove unneeded calls to device reset Signed-off-by: Blue Swirl --- target-sparc/helper.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'target-sparc') diff --git a/target-sparc/helper.c b/target-sparc/helper.c index 920432cb19..b8e7a5e12b 100644 --- a/target-sparc/helper.c +++ b/target-sparc/helper.c @@ -762,7 +762,9 @@ CPUSPARCState *cpu_sparc_init(const char *cpu_model) cpu_sparc_close(env); return NULL; } +#if defined(CONFIG_USER_ONLY) cpu_reset(env); +#endif qemu_init_vcpu(env); return env; -- cgit v1.2.3