[PATCH] Cleanup patch for process freezing
[pandora-kernel.git] / arch / i386 / kernel / signal.c
index b9b8f4e..ac5b1e9 100644 (file)
@@ -608,10 +608,8 @@ int fastcall do_signal(struct pt_regs *regs, sigset_t *oldset)
        if (!user_mode(regs))
                return 1;
 
-       if (current->flags & PF_FREEZE) {
-               refrigerator(0);
+       if (try_to_freeze)
                goto no_signal;
-       }
 
        if (!oldset)
                oldset = &current->blocked;