]> 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>
Wed, 25 Apr 2012 01:03:13 +0000 (11:03 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 30 Apr 2012 05:17:09 +0000 (15:17 +1000)
commit8ed02a4db731a5ad40cc5bf74cc12e3d8ffb0da8
treeddb0e76cc78727142c0ddf4ef8193dabb94c6798
parentd5b76b5a192581fcb1c2f14608bc1aef1f4fd3e5
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