linux/arch/sh
Matt Fleming 5e047fa159 sh: use set_current_blocked() and block_sigmask()
As described in e6fa16ab ("signal: sigprocmask() should do
retarget_shared_pending()") the modification of current->blocked is
incorrect as we need to check whether the signal we're about to block is
pending in the shared queue.

Also, use the new helper function introduced in commit 5e6292c0f2
("signal: add block_sigmask() for adding sigmask to current->blocked")
which centralises the code for updating current->blocked after
successfully delivering a signal and reduces the amount of duplicate code
across architectures.  In the past some architectures got this code wrong,
so using this helper function should stop that from happening again.

Acked-by: Oleg Nesterov <oleg@redhat.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2012-03-29 09:11:26 +09:00
..
boards sh: ecovec: switch SDHI controllers to card polling 2012-03-28 16:28:25 +09:00
boot
cchips
configs
drivers SH: pci-sh7780: enable big-endian operation. 2012-03-28 14:28:30 +09:00
include sh: Consolidate duplicate _32/_64 unistd definitions. 2012-03-28 17:10:05 +09:00
kernel sh: use set_current_blocked() and block_sigmask() 2012-03-29 09:11:26 +09:00
lib
lib64
math-emu
mm sh: remove the second argument of k[un]map_atomic() 2012-03-20 21:48:15 +08:00
oprofile
tools
Kconfig sh: select ARCH_DISCARD_MEMBLOCK. 2012-03-28 17:27:09 +09:00
Kconfig.cpu
Kconfig.debug
Makefile