]> git.karo-electronics.de Git - karo-tx-linux.git/commit
avr32: use block_sigmask()
authorMatt Fleming <matt.fleming@intel.com>
Thu, 3 May 2012 05:43:14 +0000 (15:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:13 +0000 (15:46 +1000)
commit45684a26da33204b383bc03cd275771caec884ae
tree80732962bf3a9c3150f1f4e386f490ce0140d4a0
parent57b4037023eb9a259c32fefa3c989454c02b34f7
avr32: use block_sigmask()

Use the new helper function introduced in commit 5e6292c0f28f ("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: Hans-Christian Egtvedt <egtvedt@samfundet.no>
Cc: Havard Skinnemoen <hskinnemoen@gmail.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/avr32/kernel/signal.c