projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-3.18/core' of git://git.kernel.dk/linux-block
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
sched
/
stop_task.c
diff --git
a/kernel/sched/stop_task.c
b/kernel/sched/stop_task.c
index bfe0edadbfbbe70b55d4cb022a42c29c1d33dda1..67426e529f59c044eef35c88c8d906cab641bb64 100644
(file)
--- a/
kernel/sched/stop_task.c
+++ b/
kernel/sched/stop_task.c
@@
-28,7
+28,7
@@
pick_next_task_stop(struct rq *rq, struct task_struct *prev)
{
struct task_struct *stop = rq->stop;
- if (!stop || !
stop->on_rq
)
+ if (!stop || !
task_on_rq_queued(stop)
)
return NULL;
put_prev_task(rq, prev);