Commits
Konstantin Khlebnikov authored and Pavel Emelyanov committed 029cecb45ce
cpt: Make the proper check for sigmask invalid check of TS_RESTORE_SIGMASK (always false!) original code ..rhel5..2.6.24 code from diff-cpt-sigsuspend-lockup-20070131 if (!signal_pending(current) && !test_thread_flag(TIF_RESTORE_SIGMASK)) { TIF_RESTORE_SIGMASK replaced with TS_RESTORE_SIGMASK and after commit 7648d96 setting TS_RESTORE_SIGMASK always set TIF_SIGPENDING. so, second check is not needed. http://bugzilla.openvz.org/show_bug.cgi?id=1122 Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@openvz.org>