diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-11-07 08:55:24 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-11-07 08:55:24 +0000 |
commit | a01d6ef44622a2baf799a207809d090ca9882468 (patch) | |
tree | 441ef39cab96ea53c7949d585e1bba64714b13f1 /target-sparc/helper.c | |
parent | c169998802505c244b8bcad562633f29de7d74a4 (diff) |
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; |