diff options
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; |