Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76150
b: refs/heads/master
c: 7f51f29
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Jan 25, 2008
1 parent 7c15d61 commit da8f7d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 80bf3171dcdf0f5d236e2e48afe2a95c7ce23879
refs/heads/master: 7f51f298204ec0528422cd9b23feac12612c5665
6 changes: 2 additions & 4 deletions trunk/kernel/sched_rt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit da8f7d8

Please sign in to comment.