aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2011-08-03 10:44:32 -0400
committerHeiko Carstens <heiko.carstens@de.ibm.com>2011-08-03 10:44:21 -0400
commit9e8ed3ae924b65ab5f088fe63ee6f4326f04590f (patch)
tree04180c46c531693e5f80fcb151b41aaa008175c1 /arch
parentb7f275042f5d69b6c31975341ce5f06cf2aff95f (diff)
[S390] signal: use set_restore_sigmask() helper
We should call set_restore_sigmask() instead of directly setting TIF_RESTORE_SIGMASK. This change should have been done three years earlier... see 4e4c22 "signals: add set_restore_sigmask". Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/s390/kernel/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/signal.c b/arch/s390/kernel/signal.c
index 38a88b6128be..9a40e1cc5ec3 100644
--- a/arch/s390/kernel/signal.c
+++ b/arch/s390/kernel/signal.c
@@ -65,7 +65,7 @@ SYSCALL_DEFINE3(sigsuspend, int, history0, int, history1, old_sigset_t, mask)
65 set_current_blocked(&blocked); 65 set_current_blocked(&blocked);
66 set_current_state(TASK_INTERRUPTIBLE); 66 set_current_state(TASK_INTERRUPTIBLE);
67 schedule(); 67 schedule();
68 set_thread_flag(TIF_RESTORE_SIGMASK); 68 set_restore_sigmask();
69 return -ERESTARTNOHAND; 69 return -ERESTARTNOHAND;
70} 70}
71 71