]> git.karo-electronics.de Git - karo-tx-linux.git/commit
avr32: use set_current_blocked() in handle_signal/sys_rt_sigreturn
authorOleg Nesterov <oleg@redhat.com>
Thu, 12 Apr 2012 22:51:40 +0000 (08:51 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 17 Apr 2012 03:47:04 +0000 (13:47 +1000)
commitcc5e98168d150f415509778c4716a130f0b95eb5
treeac5b71a47e8d9ac7e909eb7b6fa21af788c1a8cc
parent793670ccb2010421c6be8a585de3e8a01da996ae
avr32: use set_current_blocked() in handle_signal/sys_rt_sigreturn

It is wrong to change ->blocked directly, see e6fa16ab.  Change
handle_signal() and sys_rt_sigreturn() to use the right helper,
set_current_blocked().

Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no>
Acked-by: Havard Skinnemoen <hskinnemoen@gmail.com>
Reviewed-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/avr32/kernel/signal.c