aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/s390/kernel/signal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kernel/signal.c b/arch/s390/kernel/signal.c
index a887b686f279..dd05423f87a8 100644
--- a/arch/s390/kernel/signal.c
+++ b/arch/s390/kernel/signal.c
@@ -457,6 +457,7 @@ void do_signal(struct pt_regs *regs)
457 case -ERESTART_RESTARTBLOCK: 457 case -ERESTART_RESTARTBLOCK:
458 regs->gprs[2] = -EINTR; 458 regs->gprs[2] = -EINTR;
459 } 459 }
460 regs->trap = -1; /* Don't deal with this again. */
460 } 461 }
461 462
462 /* Get signal to deliver. When running under ptrace, at this point 463 /* Get signal to deliver. When running under ptrace, at this point