Skip to content
Snippets Groups Projects
Commit 9e8ed3ae authored by Heiko Carstens's avatar Heiko Carstens
Browse files

[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: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
parent b7f27504
No related branches found
No related tags found
No related merge requests found
...@@ -65,7 +65,7 @@ SYSCALL_DEFINE3(sigsuspend, int, history0, int, history1, old_sigset_t, mask) ...@@ -65,7 +65,7 @@ SYSCALL_DEFINE3(sigsuspend, int, history0, int, history1, old_sigset_t, mask)
set_current_blocked(&blocked); set_current_blocked(&blocked);
set_current_state(TASK_INTERRUPTIBLE); set_current_state(TASK_INTERRUPTIBLE);
schedule(); schedule();
set_thread_flag(TIF_RESTORE_SIGMASK); set_restore_sigmask();
return -ERESTARTNOHAND; return -ERESTARTNOHAND;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment