summaryrefslogtreecommitdiffstats
path: root/target-alpha/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'target-alpha/cpu.h')
-rw-r--r--target-alpha/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-alpha/cpu.h b/target-alpha/cpu.h
index 0c1b580..e9b2b07 100644
--- a/target-alpha/cpu.h
+++ b/target-alpha/cpu.h
@@ -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. */
}
OpenPOWER on IntegriCloud