diff options
author | David S. Miller <davem@davemloft.net> | 2011-10-12 15:27:35 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-10-12 15:27:35 -0400 |
commit | 27f20dca01b00eac445e5193565dd185548e7e34 (patch) | |
tree | a12db6c3189464df5adff0d10bfa32e5d0032066 /arch/sparc/kernel/signal32.c | |
parent | faddf598f0ba98ba329bb83acad51aea40313c2a (diff) |
sparc: Avoid calling sigprocmask()
Use set_current_blocked() instead.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/signal32.c')
-rw-r--r-- | arch/sparc/kernel/signal32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/signal32.c b/arch/sparc/kernel/signal32.c index 3b3a3fc3ce06..2caa556db86d 100644 --- a/arch/sparc/kernel/signal32.c +++ b/arch/sparc/kernel/signal32.c | |||
@@ -874,7 +874,7 @@ void do_signal32(sigset_t *oldset, struct pt_regs * regs, | |||
874 | */ | 874 | */ |
875 | if (current_thread_info()->status & TS_RESTORE_SIGMASK) { | 875 | if (current_thread_info()->status & TS_RESTORE_SIGMASK) { |
876 | current_thread_info()->status &= ~TS_RESTORE_SIGMASK; | 876 | current_thread_info()->status &= ~TS_RESTORE_SIGMASK; |
877 | sigprocmask(SIG_SETMASK, ¤t->saved_sigmask, NULL); | 877 | set_current_blocked(¤t->saved_sigmask); |
878 | } | 878 | } |
879 | } | 879 | } |
880 | 880 | ||