diff options
author | David S. Miller <davem@davemloft.net> | 2011-10-12 21:27:35 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-10-12 21:27:35 +0200 |
commit | 27f20dca01b00eac445e5193565dd185548e7e34 (patch) | |
tree | a12db6c3189464df5adff0d10bfa32e5d0032066 /arch/sparc/kernel/signal_64.c | |
parent | sparc: Use set_current_blocked() (diff) | |
download | linux-27f20dca01b00eac445e5193565dd185548e7e34.tar.xz linux-27f20dca01b00eac445e5193565dd185548e7e34.zip |
sparc: Avoid calling sigprocmask()
Use set_current_blocked() instead.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/signal_64.c')
-rw-r--r-- | arch/sparc/kernel/signal_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/signal_64.c b/arch/sparc/kernel/signal_64.c index f895c4076489..a2b81598d905 100644 --- a/arch/sparc/kernel/signal_64.c +++ b/arch/sparc/kernel/signal_64.c @@ -595,7 +595,7 @@ static void do_signal(struct pt_regs *regs, unsigned long orig_i0) */ if (current_thread_info()->status & TS_RESTORE_SIGMASK) { current_thread_info()->status &= ~TS_RESTORE_SIGMASK; - sigprocmask(SIG_SETMASK, ¤t->saved_sigmask, NULL); + set_current_blocked(¤t->saved_sigmask); } } |