remarkable-linux/arch/c6x
Matt Fleming 6e61ee3b7a C6X: use set_current_blocked() and block_sigmask()
As described in e6fa16ab9c ("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: Mark Salter <msalter@redhat.com>
Cc: Aurelien Jacquiot <a-jacquiot@ti.com>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-04-05 15:25:51 -07:00
..
boot Kbuild: Use dtc's -d (dependency) option 2012-02-14 21:14:44 -05:00
configs
include/asm Remove remaining bits of io_remap_page_range() 2012-03-23 16:58:31 -07:00
kernel C6X: use set_current_blocked() and block_sigmask() 2012-04-05 15:25:51 -07:00
lib C6X: library code 2011-10-06 19:48:23 -04:00
mm C6X: memory management and DMA support 2011-10-06 19:47:37 -04:00
platforms irq_domain/c6x: Use library of xlate functions 2012-02-16 06:11:24 -07:00
Kconfig irq_domain/c6x: Convert c6x to use generic irq_domain support. 2012-02-16 06:11:24 -07:00
Makefile