]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - kernel/sched_stoptask.c
sched: Provide p->on_rq
[karo-tx-linux.git] / kernel / sched_stoptask.c
index 1ba2bd40fdacf3f89e0b71f0f8c1020c0151a05c..f607de42e6fc815f5eb6d6ada08bc900ea5ddb2d 100644 (file)
@@ -26,7 +26,7 @@ static struct task_struct *pick_next_task_stop(struct rq *rq)
 {
        struct task_struct *stop = rq->stop;
 
-       if (stop && stop->se.on_rq)
+       if (stop && stop->on_rq)
                return stop;
 
        return NULL;