aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-25 20:16:53 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-25 20:16:53 -0400
commit2031d0f586839bc68f35bcf8580b18947f8491d4 (patch)
treee317615b4cb62350edeea0afe0a4fc94152cee29 /kernel/sched.c
parent98e7f29418a4931f97e6b78d1ef3a47103fe6cd5 (diff)
parent3e1d1d28d99dabe63c64f7f40f1ca1d646de1f73 (diff)
Merge Christoph's freeze cleanup patch
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c3
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