diff options
Diffstat (limited to 'kernel/sched_fair.c')
-rw-r--r-- | kernel/sched_fair.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c index 57e7f3672fd7..de13a6f5b977 100644 --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c | |||
@@ -727,6 +727,7 @@ static void enqueue_task_fair(struct rq *rq, struct task_struct *p, int wakeup) | |||
727 | break; | 727 | break; |
728 | cfs_rq = cfs_rq_of(se); | 728 | cfs_rq = cfs_rq_of(se); |
729 | enqueue_entity(cfs_rq, se, wakeup); | 729 | enqueue_entity(cfs_rq, se, wakeup); |
730 | wakeup = 1; | ||
730 | } | 731 | } |
731 | } | 732 | } |
732 | 733 | ||
@@ -746,6 +747,7 @@ static void dequeue_task_fair(struct rq *rq, struct task_struct *p, int sleep) | |||
746 | /* Don't dequeue parent if it has other entities besides us */ | 747 | /* Don't dequeue parent if it has other entities besides us */ |
747 | if (cfs_rq->load.weight) | 748 | if (cfs_rq->load.weight) |
748 | break; | 749 | break; |
750 | sleep = 1; | ||
749 | } | 751 | } |
750 | } | 752 | } |
751 | 753 | ||