Revision f8ed7070 target-sparc/cpu.h

b/target-sparc/cpu.h
406 406
#if defined(CONFIG_USER_ONLY)
407 407
static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
408 408
{
409
    if (!newsp)
409
    if (newsp)
410 410
        env->regwptr[22] = newsp;
411 411
    env->regwptr[0] = 0;
412 412
    /* FIXME: Do we also need to clear CF?  */

Also available in: Unified diff