Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135698
b: refs/heads/master
c: b67802e
h: refs/heads/master
v: v3
  • Loading branch information
Wang Chen authored and Ingo Molnar committed Mar 2, 2009
1 parent 845f065 commit b3ec44c
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: 72fd455ba54b5a02b9c74221b9ded8b1845b464a
refs/heads/master: b67802ea8061393f7bd2d4db934646e76096027c
6 changes: 3 additions & 3 deletions trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -4603,7 +4603,7 @@ static inline void schedule_debug(struct task_struct *prev)
* Pick up the highest-prio task:
*/
static inline struct task_struct *
pick_next_task(struct rq *rq, struct task_struct *prev)
pick_next_task(struct rq *rq)
{
const struct sched_class *class;
struct task_struct *p;
Expand Down Expand Up @@ -4678,7 +4678,7 @@ asmlinkage void __sched schedule(void)
idle_balance(cpu, rq);

prev->sched_class->put_prev_task(rq, prev);
next = pick_next_task(rq, prev);
next = pick_next_task(rq);

if (likely(prev != next)) {
sched_info_switch(prev, next);
Expand Down Expand Up @@ -6514,7 +6514,7 @@ static void migrate_dead_tasks(unsigned int dead_cpu)
if (!rq->nr_running)
break;
update_rq_clock(rq);
next = pick_next_task(rq, rq->curr);
next = pick_next_task(rq);
if (!next)
break;
next->sched_class->put_prev_task(rq, next);
Expand Down

0 comments on commit b3ec44c

Please sign in to comment.