From f8ed7070ea2f314f63e54ddf73eb5e071cf00327 Mon Sep 17 00:00:00 2001 From: pbrook Date: Fri, 30 May 2008 17:54:15 +0000 Subject: Fix typo. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4624 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-m68k/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target-m68k/cpu.h') diff --git a/target-m68k/cpu.h b/target-m68k/cpu.h index 76914525f6..cfeafc003e 100644 --- a/target-m68k/cpu.h +++ b/target-m68k/cpu.h @@ -229,7 +229,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->aregs[7] = newsp; env->dregs[0] = 0; } -- cgit v1.2.3