Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 222171
b: refs/heads/master
c: 2d46709
h: refs/heads/master
i:
  222169: 54f7b9d
  222167: da05d62
v: v3
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Nov 10, 2010
1 parent 5837476 commit 898f426
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: aae6d3ddd8b90f5b2c8d79a2b914d1706d124193
refs/heads/master: 2d46709082c062cae7cce1a15f8cd4cd81b92d88
2 changes: 1 addition & 1 deletion trunk/kernel/sched_stoptask.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ static struct task_struct *pick_next_task_stop(struct rq *rq)
{
struct task_struct *stop = rq->stop;

if (stop && stop->state == TASK_RUNNING)
if (stop && stop->se.on_rq)
return stop;

return NULL;
Expand Down

0 comments on commit 898f426

Please sign in to comment.