diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-01-25 21:08:14 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-25 21:08:14 +0100 |
commit | 79064fbf75796c4c6a53e40729dbe52f789a91fd (patch) | |
tree | a54667418d6623cd84c566544930c99c608a42f8 /kernel/sched_rt.c | |
parent | 0d1311a536a0face6267e7346223f2e68b002018 (diff) | |
download | blackbird-op-linux-79064fbf75796c4c6a53e40729dbe52f789a91fd.tar.gz blackbird-op-linux-79064fbf75796c4c6a53e40729dbe52f789a91fd.zip |
sched: clean up pick_next_highest_task_rt()
clean up pick_next_highest_task_rt().
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_rt.c')
-rw-r--r-- | kernel/sched_rt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c index 61d198845f00..b8435fd47f78 100644 --- a/kernel/sched_rt.c +++ b/kernel/sched_rt.c @@ -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; @@ -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; } |