summaryrefslogtreecommitdiffstats
path: root/kernel/sched_rt.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2011-10-04 05:08:16 -0400
committerIngo Molnar <mingo@elte.hu>2011-10-04 05:09:08 -0400
commit22f92bacbeea24b20e447444c28e7cad9f1ac3f8 (patch)
tree5c3f2346804a186aa2d954f078fd2f4d44bcc26e /kernel/sched_rt.c
parent557ab425429a5123d37f412ce3e6d6137cb621f8 (diff)
parent0f86267b79bc6e357b8606077c7f70239045ea9c (diff)
Merge branch 'linus' into sched/core
Merge reason: pick up the latest fixes. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_rt.c')
-rw-r--r--kernel/sched_rt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c
index a9d3c6bc684a..0cc188cf7664 100644
--- a/kernel/sched_rt.c
+++ b/kernel/sched_rt.c
@@ -1031,7 +1031,7 @@ select_task_rq_rt(struct task_struct *p, int sd_flag, int flags)
1031 */ 1031 */
1032 if (curr && unlikely(rt_task(curr)) && 1032 if (curr && unlikely(rt_task(curr)) &&
1033 (curr->rt.nr_cpus_allowed < 2 || 1033 (curr->rt.nr_cpus_allowed < 2 ||
1034 curr->prio < p->prio) && 1034 curr->prio <= p->prio) &&
1035 (p->rt.nr_cpus_allowed > 1)) { 1035 (p->rt.nr_cpus_allowed > 1)) {
1036 int target = find_lowest_rq(p); 1036 int target = find_lowest_rq(p);
1037 1037
@@ -1563,7 +1563,7 @@ static void task_woken_rt(struct rq *rq, struct task_struct *p)
1563 p->rt.nr_cpus_allowed > 1 && 1563 p->rt.nr_cpus_allowed > 1 &&
1564 rt_task(rq->curr) && 1564 rt_task(rq->curr) &&
1565 (rq->curr->rt.nr_cpus_allowed < 2 || 1565 (rq->curr->rt.nr_cpus_allowed < 2 ||
1566 rq->curr->prio < p->prio)) 1566 rq->curr->prio <= p->prio))
1567 push_rt_tasks(rq); 1567 push_rt_tasks(rq);
1568} 1568}
1569 1569