]> git.proxmox.com Git - qemu.git/blobdiff - target-alpha/cpu.h
Fix typo.
[qemu.git] / target-alpha / cpu.h
index 0c1b580f97b81c4d037861e88d234253d4bee841..e9b2b07571a790864edccdf721d955228f45ad1e 100644 (file)
@@ -314,7 +314,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->ir[30] = newsp;
     /* FIXME: Zero syscall return value.  */
 }