diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-30 17:54:15 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-30 17:54:15 +0000 |
commit | f8ed7070ea2f314f63e54ddf73eb5e071cf00327 (patch) | |
tree | d04c1ddc0c772f548d6e495d813c2b2380886307 /target-sparc | |
parent | 6e68e076e72f42d43cc3b5435751d796c2410a3f (diff) | |
download | qemu-f8ed7070ea2f314f63e54ddf73eb5e071cf00327.zip |
Fix typo.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4624 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc')
-rw-r--r-- | target-sparc/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sparc/cpu.h b/target-sparc/cpu.h index 54807fb021..ad9aeb8671 100644 --- a/target-sparc/cpu.h +++ b/target-sparc/cpu.h @@ -406,7 +406,7 @@ static inline int cpu_fpu_enabled(CPUState *env1) #if defined(CONFIG_USER_ONLY) static inline void cpu_clone_regs(CPUState *env, target_ulong newsp) { - if (!newsp) + if (newsp) env->regwptr[22] = newsp; env->regwptr[0] = 0; /* FIXME: Do we also need to clear CF? */ |