Revision f8ed7070 target-cris/cpu.h

b/target-cris/cpu.h
221 221
#if defined(CONFIG_USER_ONLY)
222 222
static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
223 223
{
224
    if (!newsp)
224
    if (newsp)
225 225
        env->regs[14] = newsp;
226 226
    env->regs[10] = 0;
227 227
}

Also available in: Unified diff