aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux-user/signal.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/linux-user/signal.c b/linux-user/signal.c
index 88f6a21785..1dd634f796 100644
--- a/linux-user/signal.c
+++ b/linux-user/signal.c
@@ -3023,9 +3023,6 @@ long do_sigreturn(CPUState *env)
sigprocmask(SIG_SETMASK, &set, NULL);
restore_sigcontext(&frame->sc, env);
- /* Compensate for the syscall return path advancing brk. */
- env->pc -= 2;
-
unlock_user_struct(frame, frame_addr, 0);
return env->regs[10];
badframe: