Revision f8ed7070 target-mips/cpu.h

b/target-mips/cpu.h
503 503
#if defined(CONFIG_USER_ONLY)
504 504
static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
505 505
{
506
    if (!newsp)
506
    if (newsp)
507 507
        env->gpr[env->current_tc][29] = newsp;
508 508
    env->gpr[env->current_tc][7] = 0;
509 509
    env->gpr[env->current_tc][2] = 0;

Also available in: Unified diff