commit | 7037bd803e24d4fdaa87f27456e686aafb061277 | [log] [tgz] |
---|---|---|
author | Matt Fleming <matt.fleming@intel.com> | Thu Aug 11 14:57:06 2011 +0100 |
committer | Guan Xuetao <gxt@mprc.pku.edu.cn> | Tue Jan 10 10:29:41 2012 +0800 |
tree | 4ca8c8d236244b2446a9aa8c58c7bafcbb5a0389 | |
parent | a50e4213e71adc7dde0d514aabd8af7275fee39f [diff] |
unicore32: Use set_current_blocked() As described in e6fa16ab ("signal: sigprocmask() should do retarget_shared_pending()") the modification of current->blocked is incorrect as we need to check whether the signal we're about to block is pending in the shared queue. Cc: Oleg Nesterov <oleg@redhat.com> Cc: Guan Xuetao <gxt@mprc.pku.edu.cn> Signed-off-by: Matt Fleming <matt.fleming@intel.com> Cc: Arnd Bergmann <arnd@arndb.de> Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn>