remarkable-linux/arch/c6x/kernel
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
..
asm-offsets.c C6X: build infrastructure 2011-10-06 19:48:02 -04:00
c6x_ksyms.c C6X: loadable module support 2011-10-06 19:48:13 -04:00
devicetree.c C6X: devicetree support 2011-10-06 19:47:33 -04:00
dma.c C6X: memory management and DMA support 2011-10-06 19:47:37 -04:00
entry.S C6X: remove dead code from entry.S 2012-03-16 09:27:57 -04:00
head.S
irq.c irq_domain/c6x: Use library of xlate functions 2012-02-16 06:11:24 -07:00
Makefile
module.c C6X: loadable module support 2011-10-06 19:48:13 -04:00
process.c C6X: replace tick_nohz_stop/restart_sched_tick calls 2012-01-08 15:13:16 -05:00
ptrace.c C6X: ptrace support 2011-10-06 19:48:17 -04:00
setup.c C6X: add register_cpu call 2012-01-08 15:13:10 -05:00
signal.c C6X: use set_current_blocked() and block_sigmask() 2012-04-05 15:25:51 -07:00
soc.c C6X: general SoC support 2011-10-06 19:48:26 -04:00
switch_to.S C6X: process management 2011-10-06 19:47:40 -04:00
sys_c6x.c C6X: syscalls 2011-10-06 19:47:58 -04:00
time.c C6X: time management 2011-10-06 19:47:51 -04:00
traps.c C6X: build infrastructure 2011-10-06 19:48:02 -04:00
vectors.S
vmlinux.lds.S