linux/arch/hexagon/kernel
Matt Fleming 43aca3246c Hexagon: 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: Oleg Nesterov <oleg@redhat.com>
Acked-by: Richard Kuo <rkuo@codeaurora.org>
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-03-23 16:58:41 -07:00
..
Makefile Hexagon: Add configuration and makefiles for the Hexagon architecture. 2011-11-01 07:34:21 -07:00
asm-offsets.c Hexagon: Add configuration and makefiles for the Hexagon architecture. 2011-11-01 07:34:21 -07:00
dma.c Hexagon: Provide DMA implementation 2011-11-01 07:34:20 -07:00
head.S Hexagon: Add startup code 2011-11-01 07:34:19 -07:00
hexagon_ksyms.c Hexagon: Export ksyms defined in assembly files. 2011-11-01 07:34:19 -07:00
init_task.c Hexagon: Add init_task and process functions 2011-11-01 07:34:19 -07:00
irq_cpu.c Hexagon: Add interrupts 2011-11-01 07:34:19 -07:00
kgdb.c Hexagon: kgdb support files 2011-11-01 07:34:21 -07:00
module.c Hexagon: Support dynamic module loading. 2011-11-01 07:34:19 -07:00
process.c Hexagon: Add init_task and process functions 2011-11-01 07:34:19 -07:00
ptrace.c Hexagon: Add ptrace support 2011-11-01 07:34:19 -07:00
reset.c Hexagon: Add startup code 2011-11-01 07:34:19 -07:00
setup.c Hexagon: Add startup code 2011-11-01 07:34:19 -07:00
signal.c Hexagon: use set_current_blocked() and block_sigmask() 2012-03-23 16:58:41 -07:00
smp.c sched: Cleanup cpu_active madness 2012-03-12 20:43:15 +01:00
stacktrace.c Hexagon: Add basic stacktrace functionality for Hexagon architecture. 2011-11-01 07:34:21 -07:00
syscall.c
syscalltab.c
time.c Hexagon: Add time and timer functions 2011-11-01 07:34:19 -07:00
topology.c Hexagon: Add SMP support 2011-11-01 07:34:20 -07:00
trampoline.S Hexagon: Add signal functions 2011-11-01 07:34:19 -07:00
traps.c Hexagon: Provide basic debugging and system trap support. 2011-11-01 07:34:19 -07:00
vdso.c Hexagon: Add signal functions 2011-11-01 07:34:19 -07:00
vm_entry.S Hexagon: Add hypervisor interface 2011-11-01 07:34:19 -07:00
vm_events.c Hexagon: Add hypervisor interface 2011-11-01 07:34:19 -07:00
vm_init_segtable.S Hexagon: Add hypervisor interface 2011-11-01 07:34:19 -07:00
vm_ops.S Hexagon: Add hypervisor interface 2011-11-01 07:34:19 -07:00
vm_switch.S Hexagon: Add hypervisor interface 2011-11-01 07:34:19 -07:00
vm_vectors.S Hexagon: Add hypervisor interface 2011-11-01 07:34:19 -07:00
vmlinux.lds.S Hexagon: Add configuration and makefiles for the Hexagon architecture. 2011-11-01 07:34:21 -07:00