]> git.karo-electronics.de Git - karo-tx-linux.git/commit
avr32: Use block_sigmask()
authorMatt Fleming <matt.fleming@intel.com>
Fri, 19 Aug 2011 16:46:22 +0000 (17:46 +0100)
committerOleg Nesterov <oleg@redhat.com>
Wed, 24 Aug 2011 18:13:00 +0000 (20:13 +0200)
commite9957ad454eec065334f0031811e064d33e9294d
tree89cccef474e52d311641ef9a24c3e488245d6baa
parenta759bc5afba7ce5dc237a4f25c0dae0ca1217b9b
avr32: Use block_sigmask()

Use the new helper function block_sigmask() 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.

Cc: 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: Oleg Nesterov <oleg@redhat.com>
arch/avr32/kernel/signal.c