Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76143
b: refs/heads/master
c: 79064fb
h: refs/heads/master
i:
  76141: 74fa9ed
  76139: 4a8f23b
  76135: 998e08f
  76127: 5c3c272
v: v3
  • Loading branch information
Ingo Molnar committed Jan 25, 2008
1 parent 4899b28 commit d555d49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 0d1311a536a0face6267e7346223f2e68b002018
refs/heads/master: 79064fbf75796c4c6a53e40729dbe52f789a91fd
6 changes: 3 additions & 3 deletions trunk/kernel/sched_rt.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,7 @@ static int pick_rt_task(struct rq *rq, struct task_struct *p, int cpu)
}

/* Return the second highest RT task, NULL otherwise */
static struct task_struct *pick_next_highest_task_rt(struct rq *rq,
int cpu)
static struct task_struct *pick_next_highest_task_rt(struct rq *rq, int cpu)
{
struct rt_prio_array *array = &rq->rt.active;
struct task_struct *next;
Expand All @@ -270,7 +269,8 @@ static struct task_struct *pick_next_highest_task_rt(struct rq *rq,

if (queue->next->next != queue) {
/* same prio task */
next = list_entry(queue->next->next, struct task_struct, run_list);
next = list_entry(queue->next->next, struct task_struct,
run_list);
if (pick_rt_task(rq, next, cpu))
goto out;
}
Expand Down

0 comments on commit d555d49

Please sign in to comment.