Revision f8ed7070 target-arm/cpu.h

b/target-arm/cpu.h
411 411
#if defined(CONFIG_USER_ONLY)
412 412
static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
413 413
{
414
    if (!newsp)
414
    if (newsp)
415 415
        env->regs[13] = newsp;
416 416
    env->regs[0] = 0;
417 417
}

Also available in: Unified diff