Revision f8ed7070 target-ppc/cpu.h

b/target-ppc/cpu.h
826 826
static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
827 827
{
828 828
    int i;
829
    if (!newsp)
829
    if (newsp)
830 830
        env->gpr[1] = newsp;
831 831
    for (i = 7; i < 32; i++)
832 832
        env->gpr[i] = 0;

Also available in: Unified diff