linux/arch/m68k/kernel
Matt Fleming 43a3599556 m68k: 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: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-05-21 23:52:37 -04:00
..
.gitignore m68k: Add vmlinux.lds to .gitignore 2009-01-12 20:56:32 +01:00
asm-offsets.c m68k: remove thread_info struct from thread struct 2011-12-24 21:47:56 +10:00
dma.c m68k: merge the MMU and non-MMU versions of the arch dma code 2012-05-20 21:22:56 +10:00
entry_mm.S m68k: remove thread_info struct from thread struct 2011-12-24 21:47:56 +10:00
entry_no.S m68k: set register a2 to current if MMU enabled on ColdFire 2011-12-30 10:20:24 +10:00
entry.S m68k: use non-MMU entry.S code when compiling for ColdFire CPU 2011-12-30 10:20:41 +10:00
head.S m68k/mac: early console 2011-12-10 19:52:45 +01:00
ints.c Disintegrate asm/system.h for M68K 2012-03-28 18:30:02 +01:00
irq.c Disintegrate asm/system.h for M68K 2012-03-28 18:30:02 +01:00
m68k_ksyms.c m68k: handle presence of 64bit mul/div instructions cleanly 2011-12-24 21:47:57 +10:00
Makefile m68k: Use generic init_task 2012-05-05 13:00:23 +02:00
module.c m68k: merge the non-mmu and mmu versions of module.c 2011-07-25 11:20:40 +10:00
module.lds m68k: runtime patching infrastructure 2007-05-31 07:58:13 -07:00
process.c Disintegrate asm/system.h for M68K 2012-03-28 18:30:02 +01:00
ptrace.c Disintegrate asm/system.h for M68K 2012-03-28 18:30:02 +01:00
setup_mm.c m68k: add ColdFire FPU support for the V4e ColdFire CPUs 2011-12-30 10:20:47 +10:00
setup_no.c m68knommu: modify timer init code to make it consistent with m68k code 2012-03-05 09:43:04 +10:00
setup.c m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
signal.c m68k: use set_current_blocked() and block_sigmask() 2012-05-21 23:52:37 -04:00
sun3-head.S m68k: arch/m68k/kernel/sun3-head.S needs <linux/init.h> 2009-04-28 16:07:18 -07:00
sys_m68k.c m68k: merge the mmu and non-mmu versions of sys_m68k.c 2011-05-24 15:17:21 +10:00
syscalltable.S m68k: Wire up process_vm_{read,write}v 2011-12-06 20:37:58 +01:00
time.c m68k: remove dead timer code 2012-03-05 09:43:04 +10:00
traps.c Disintegrate asm/system.h for M68K 2012-03-28 18:30:02 +01:00
vectors.c Disintegrate asm/system.h for M68K 2012-03-28 18:30:02 +01:00
vmlinux-nommu.lds m68knommu: clean up linker script 2012-03-05 09:43:03 +10:00
vmlinux-std.lds m68k: print memory layout info in boot log 2011-12-24 21:47:57 +10:00
vmlinux-sun3.lds m68k: print memory layout info in boot log 2011-12-24 21:47:57 +10:00
vmlinux.lds.S m68k: use non-MMU linker script for ColdFire MMU builds 2011-12-30 10:20:44 +10:00