sched/fair: replace cfs_rq->rb_leftmost
[sfrench/cifs-2.6.git] / kernel / sched / debug.c
index 4a23bbc3111bd287ce4437e6fa2de530f9a56406..8e536d963652c230e8f08f906d723826b068faaa 100644 (file)
@@ -530,7 +530,7 @@ void print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq)
                        SPLIT_NS(cfs_rq->exec_clock));
 
        raw_spin_lock_irqsave(&rq->lock, flags);
-       if (cfs_rq->rb_leftmost)
+       if (rb_first_cached(&cfs_rq->tasks_timeline))
                MIN_vruntime = (__pick_first_entity(cfs_rq))->vruntime;
        last = __pick_last_entity(cfs_rq);
        if (last)