]> git.karo-electronics.de Git - karo-tx-linux.git/commit
unicore32: use block_sigmask()
authorMatt Fleming <matt.fleming@intel.com>
Wed, 25 Apr 2012 01:03:23 +0000 (11:03 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 30 Apr 2012 05:17:14 +0000 (15:17 +1000)
commitaea31541611ff9e9da7505156eb49dc48f4e6d80
tree3072e212f33599d64df649d3497abfb425a1a3a7
parentd46bedcf80f1d870bff10de6fa2ec13e49de10b1
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