diff options
Diffstat (limited to 'fs/select.c')
-rw-r--r-- | fs/select.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/select.c b/fs/select.c index 00f58c5c7e05..32ce2b32fad1 100644 --- a/fs/select.c +++ b/fs/select.c | |||
@@ -498,7 +498,7 @@ sticky: | |||
498 | if (sigmask) { | 498 | if (sigmask) { |
499 | memcpy(¤t->saved_sigmask, &sigsaved, | 499 | memcpy(¤t->saved_sigmask, &sigsaved, |
500 | sizeof(sigsaved)); | 500 | sizeof(sigsaved)); |
501 | set_thread_flag(TIF_RESTORE_SIGMASK); | 501 | set_restore_sigmask(); |
502 | } | 502 | } |
503 | } else if (sigmask) | 503 | } else if (sigmask) |
504 | sigprocmask(SIG_SETMASK, &sigsaved, NULL); | 504 | sigprocmask(SIG_SETMASK, &sigsaved, NULL); |
@@ -805,7 +805,7 @@ asmlinkage long sys_ppoll(struct pollfd __user *ufds, unsigned int nfds, | |||
805 | if (sigmask) { | 805 | if (sigmask) { |
806 | memcpy(¤t->saved_sigmask, &sigsaved, | 806 | memcpy(¤t->saved_sigmask, &sigsaved, |
807 | sizeof(sigsaved)); | 807 | sizeof(sigsaved)); |
808 | set_thread_flag(TIF_RESTORE_SIGMASK); | 808 | set_restore_sigmask(); |
809 | } | 809 | } |
810 | ret = -ERESTARTNOHAND; | 810 | ret = -ERESTARTNOHAND; |
811 | } else if (sigmask) | 811 | } else if (sigmask) |