Merge Christoph's freeze cleanup patch
[linux-2.6.git] / kernel / sched.c
index dee96b2..a07cff9 100644 (file)
@@ -4335,8 +4335,7 @@ static int migration_thread(void * data)
                struct list_head *head;
                migration_req_t *req;
 
-               if (current->flags & PF_FREEZE)
-                       refrigerator(PF_FREEZE);
+               try_to_freeze();
 
                spin_lock_irq(&rq->lock);