diff options
author | pbrook | 2008-05-30 19:54:15 +0200 |
---|---|---|
committer | pbrook | 2008-05-30 19:54:15 +0200 |
commit | f8ed7070ea2f314f63e54ddf73eb5e071cf00327 (patch) | |
tree | d04c1ddc0c772f548d6e495d813c2b2380886307 /target-mips/cpu.h | |
parent | Move clone() register setup to target specific code. Handle fork-like clone. (diff) | |
download | qemu-f8ed7070ea2f314f63e54ddf73eb5e071cf00327.tar.gz qemu-f8ed7070ea2f314f63e54ddf73eb5e071cf00327.tar.xz 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-mips/cpu.h')
-rw-r--r-- | target-mips/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-mips/cpu.h b/target-mips/cpu.h index f9fcafbb1f..964a560fa3 100644 --- a/target-mips/cpu.h +++ b/target-mips/cpu.h @@ -503,7 +503,7 @@ static inline int cpu_mmu_index (CPUState *env) #if defined(CONFIG_USER_ONLY) static inline void cpu_clone_regs(CPUState *env, target_ulong newsp) { - if (!newsp) + if (newsp) env->gpr[env->current_tc][29] = newsp; env->gpr[env->current_tc][7] = 0; env->gpr[env->current_tc][2] = 0; |