Revision b5dc7732 linux-user/syscall.c

b/linux-user/syscall.c
3686 3686
            if (!is_error(ret)) {
3687 3687
#if defined(TARGET_MIPS)
3688 3688
                CPUMIPSState *env = (CPUMIPSState*)cpu_env;
3689
		env->gpr[env->current_tc][3] = host_pipe[1];
3689
		env->active_tc.gpr[3] = host_pipe[1];
3690 3690
		ret = host_pipe[0];
3691 3691
#elif defined(TARGET_SH4)
3692 3692
		((CPUSH4State*)cpu_env)->gregs[1] = host_pipe[1];

Also available in: Unified diff