aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/kernel/signal.c')
-rw-r--r--arch/s390/kernel/signal.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/s390/kernel/signal.c b/arch/s390/kernel/signal.c
index 37799089c38e..c880c48a09f3 100644
--- a/arch/s390/kernel/signal.c
+++ b/arch/s390/kernel/signal.c
@@ -398,12 +398,7 @@ void do_signal(struct pt_regs *regs)
398 siginfo_t info; 398 siginfo_t info;
399 int signr; 399 int signr;
400 struct k_sigaction ka; 400 struct k_sigaction ka;
401 sigset_t *oldset; 401 sigset_t *oldset = sigmask_to_save();
402
403 if (test_thread_flag(TIF_RESTORE_SIGMASK))
404 oldset = &current->saved_sigmask;
405 else
406 oldset = &current->blocked;
407 402
408 /* 403 /*
409 * Get signal to deliver. When running under ptrace, at this point 404 * Get signal to deliver. When running under ptrace, at this point