]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
avr32: use set_current_blocked() in handle_signal/sys_rt_sigreturn
authorOleg Nesterov <oleg@redhat.com>
Fri, 11 May 2012 00:57:58 +0000 (10:57 +1000)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 22 May 2012 03:52:36 +0000 (23:52 -0400)
commit49209590cb1cdd30b35edd65535184e39bfbab99
treec23f46a276ed0b04abe85b6ab460c7133d4e3d21
parente1b1fd79a04396d5ec971e9e4d4711b5a58ad7e3
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>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/avr32/kernel/signal.c