diff options
author | Blue Swirl | 2009-11-07 09:55:24 +0100 |
---|---|---|
committer | Blue Swirl | 2009-11-07 09:55:24 +0100 |
commit | a01d6ef44622a2baf799a207809d090ca9882468 (patch) | |
tree | 441ef39cab96ea53c7949d585e1bba64714b13f1 /target-sparc/helper.c | |
parent | v3: don't call reset functions on cpu initialization (diff) | |
download | qemu-a01d6ef44622a2baf799a207809d090ca9882468.tar.gz qemu-a01d6ef44622a2baf799a207809d090ca9882468.tar.xz qemu-a01d6ef44622a2baf799a207809d090ca9882468.zip |
sparc32 (mostly): remove unneeded calls to device reset
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-sparc/helper.c')
-rw-r--r-- | target-sparc/helper.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |