Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 350130
b: refs/heads/master
c: 60334ca
h: refs/heads/master
v: v3
  • Loading branch information
Kirill Tkhai authored and Ingo Molnar committed Feb 3, 2013
1 parent aff265c commit 969969a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fc79e240be5aa379dd36a62158be5a5ee0e4aec7
refs/heads/master: 60334caf37dc7c59120b21faa625534a6fffead0
3 changes: 1 addition & 2 deletions trunk/kernel/sched/rt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1427,8 +1427,7 @@ static void put_prev_task_rt(struct rq *rq, struct task_struct *p)
static int pick_rt_task(struct rq *rq, struct task_struct *p, int cpu)
{
if (!task_running(rq, p) &&
(cpu < 0 || cpumask_test_cpu(cpu, tsk_cpus_allowed(p))) &&
(p->nr_cpus_allowed > 1))
cpumask_test_cpu(cpu, tsk_cpus_allowed(p)))
return 1;
return 0;
}
Expand Down

0 comments on commit 969969a

Please sign in to comment.