Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187901
b: refs/heads/master
c: 3d07467
h: refs/heads/master
i:
  187899: 2fddf71
v: v3
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Mar 11, 2010
1 parent 0fd69c8 commit 3bed0a7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: ab3b3aa5dd01b3aaa6b15caee113b21b1b6520c4
refs/heads/master: 3d07467b7aa91623b31d7b5888a123a2c8c8e9cc
7 changes: 6 additions & 1 deletion trunk/kernel/sched_rt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,12 @@ static struct task_struct *pick_next_highest_task_rt(struct rq *rq, int cpu)
if (next && next->prio < idx)
continue;
list_for_each_entry(rt_se, array->queue + idx, run_list) {
struct task_struct *p = rt_task_of(rt_se);
struct task_struct *p;

if (!rt_entity_is_task(rt_se))
continue;

p = rt_task_of(rt_se);
if (pick_rt_task(rq, p, cpu)) {
next = p;
break;
Expand Down

0 comments on commit 3bed0a7

Please sign in to comment.