]> 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, 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)
commit57b4037023eb9a259c32fefa3c989454c02b34f7
treeefa59efcee7a7b8aeb670b27cdb467cc27d9a8ab
parentd886c75b3ecf12b4265086908fbe6c0db834c710
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