linux/arch/cris/arch-v32
Matt Fleming f3b5e82273 cris: 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: Mikael Starvik <starvik@axis.com>
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
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:35 -04:00
..
drivers Disintegrate asm/system.h for CRIS 2012-03-28 18:30:02 +01:00
kernel cris: use set_current_blocked() and block_sigmask() 2012-05-21 23:52:35 -04:00
lib cris: remove arch/cris/arch-v32/lib/nand_init.S 2011-10-13 18:12:48 +02:00
mach-a3 Disintegrate asm/system.h for CRIS 2012-03-28 18:30:02 +01:00
mach-fs Disintegrate asm/system.h for CRIS 2012-03-28 18:30:02 +01:00
mm Merge branch 'for-linus' of git://www.jni.nu/cris 2010-08-08 10:08:26 -07:00
Kconfig trivial: fix typos/grammar errors in Kconfig texts 2009-03-30 15:22:01 +02:00
output_arch.ld [PATCH] CRIS update: new subarchitecture v32 2005-07-27 16:26:01 -07:00