usb: fix ips1760-hcd printk format warning
[firefly-linux-kernel-4.4.55.git] / kernel / sched_debug.c
index eb6cb8edd075d9372b0547162a2930b06d14cacc..7bacd83a4158ca7157ae60e5e0fcec2fe8ff1e82 100644 (file)
@@ -179,7 +179,7 @@ void print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq)
 
        raw_spin_lock_irqsave(&rq->lock, flags);
        if (cfs_rq->rb_leftmost)
-               MIN_vruntime = (__pick_next_entity(cfs_rq))->vruntime;
+               MIN_vruntime = (__pick_first_entity(cfs_rq))->vruntime;
        last = __pick_last_entity(cfs_rq);
        if (last)
                max_vruntime = last->vruntime;