Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7f51f298204ec0528422cd9b23feac12612c5665 Commit: 7f51f298204ec0528422cd9b23feac12612c5665 Parent: 80bf3171dcdf0f5d236e2e48afe2a95c7ce23879 Author: Ingo Molnar <[EMAIL PROTECTED]> AuthorDate: Fri Jan 25 21:08:17 2008 +0100 Committer: Ingo Molnar <[EMAIL PROTECTED]> CommitDate: Fri Jan 25 21:08:17 2008 +0100
sched: clean up schedule_balance_rt() clean up schedule_balance_rt(). Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]> --- kernel/sched_rt.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c index 05ada7d..4d0a60e 100644 --- a/kernel/sched_rt.c +++ b/kernel/sched_rt.c @@ -701,12 +701,10 @@ static int pull_rt_task(struct rq *this_rq) return ret; } -static void schedule_balance_rt(struct rq *rq, - struct task_struct *prev) +static void schedule_balance_rt(struct rq *rq, struct task_struct *prev) { /* Try to pull RT tasks here if we lower this rq's prio */ - if (unlikely(rt_task(prev)) && - rq->rt.highest_prio > prev->prio) + if (unlikely(rt_task(prev)) && rq->rt.highest_prio > prev->prio) pull_rt_task(rq); } - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html