summaryrefslogtreecommitdiff
path: root/target-arm
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-30 17:54:15 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-30 17:54:15 +0000
commitc0f570c64d956aeeaf1498b60f132b04e7da56e4 (patch)
treed04c1ddc0c772f548d6e495d813c2b2380886307 /target-arm
parent07f5f4bba9cca738fa27d6d426febea2fa35ccc3 (diff)
downloadqemu-c0f570c64d956aeeaf1498b60f132b04e7da56e4.tar.gz
qemu-c0f570c64d956aeeaf1498b60f132b04e7da56e4.tar.bz2
qemu-c0f570c64d956aeeaf1498b60f132b04e7da56e4.zip
Fix typo.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4624 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-arm')
-rw-r--r--target-arm/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-arm/cpu.h b/target-arm/cpu.h
index 1c51d2df40..5005bf6dd3 100644
--- a/target-arm/cpu.h
+++ b/target-arm/cpu.h
@@ -411,7 +411,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->regs[13] = newsp;
env->regs[0] = 0;
}