diff options
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index dee96b22635e..a07cff90d849 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -4335,8 +4335,7 @@ static int migration_thread(void * data) | |||
4335 | struct list_head *head; | 4335 | struct list_head *head; |
4336 | migration_req_t *req; | 4336 | migration_req_t *req; |
4337 | 4337 | ||
4338 | if (current->flags & PF_FREEZE) | 4338 | try_to_freeze(); |
4339 | refrigerator(PF_FREEZE); | ||
4340 | 4339 | ||
4341 | spin_lock_irq(&rq->lock); | 4340 | spin_lock_irq(&rq->lock); |
4342 | 4341 | ||