aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/compat.c')
-rw-r--r--kernel/compat.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/kernel/compat.c b/kernel/compat.c
index 18197ae2d465..616c78197cca 100644
--- a/kernel/compat.c
+++ b/kernel/compat.c
@@ -992,11 +992,8 @@ asmlinkage long compat_sys_rt_sigsuspend(compat_sigset_t __user *unewset, compat
992 sigset_from_compat(&newset, &newset32); 992 sigset_from_compat(&newset, &newset32);
993 sigdelsetmask(&newset, sigmask(SIGKILL)|sigmask(SIGSTOP)); 993 sigdelsetmask(&newset, sigmask(SIGKILL)|sigmask(SIGSTOP));
994 994
995 spin_lock_irq(&current->sighand->siglock);
996 current->saved_sigmask = current->blocked; 995 current->saved_sigmask = current->blocked;
997 current->blocked = newset; 996 set_current_blocked(&newset);
998 recalc_sigpending();
999 spin_unlock_irq(&current->sighand->siglock);
1000 997
1001 current->state = TASK_INTERRUPTIBLE; 998 current->state = TASK_INTERRUPTIBLE;
1002 schedule(); 999 schedule();