]> git.karo-electronics.de Git - karo-tx-linux.git/commit
unicore32: use block_sigmask()
authorMatt Fleming <matt.fleming@intel.com>
Thu, 3 May 2012 05:43:23 +0000 (15:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:18 +0000 (15:46 +1000)
commit47ad7349b701f7788a399b48cf0ce71897af8596
tree6ea5635c3e564e9e91164259e45758a73f5875ad
parenta072f4f52784aabefbcab95e4a4acf5f468f3533
unicore32: 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>
Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/unicore32/kernel/signal.c