From d555d499cd6a9d97f3e8785b0b35ad298d2a0730 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 25 Jan 2008 21:08:14 +0100 Subject: [PATCH] --- yaml --- r: 76143 b: refs/heads/master c: 79064fbf75796c4c6a53e40729dbe52f789a91fd h: refs/heads/master i: 76141: 74fa9ed386739b7a213abfa081b9ca5dc76d4830 76139: 4a8f23b2967767f79f69d3e02d1c8c1d974236b3 76135: 998e08f4c327d3687326e31983133dbd57affce9 76127: 5c3c2722eb0e690d0fad95313037b5d3dc318f35 v: v3 --- [refs] | 2 +- trunk/kernel/sched_rt.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 941be101df5a..5561232e7dfb 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0d1311a536a0face6267e7346223f2e68b002018 +refs/heads/master: 79064fbf75796c4c6a53e40729dbe52f789a91fd diff --git a/trunk/kernel/sched_rt.c b/trunk/kernel/sched_rt.c index 61d198845f00..b8435fd47f78 100644 --- a/trunk/kernel/sched_rt.c +++ b/trunk/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; }