[PATCH] Software suspend and recalc sigpending bug fix
[linux-2.6.git] / kernel / signal.c
index c89821b69ae3e10be8447d29d3f8bca893beb233..d1258729a5f9cdf6674b897b273036e1dee29291 100644 (file)
@@ -213,6 +213,7 @@ static inline int has_pending_signals(sigset_t *signal, sigset_t *blocked)
 fastcall void recalc_sigpending_tsk(struct task_struct *t)
 {
        if (t->signal->group_stop_count > 0 ||
+           (t->flags & PF_FREEZE) ||
            PENDING(&t->pending, &t->blocked) ||
            PENDING(&t->signal->shared_pending, &t->blocked))
                set_tsk_thread_flag(t, TIF_SIGPENDING);