Merge remote branch 'linus' into drm-intel-fixes
[deliverable/linux.git] / kernel / sched_fair.c
index 034c4f410b36ef8d0d2fd2a7a108984e3d281ae0..52ab113d8bb95ee8e08299b9bad6b0df5691ea89 100644 (file)
@@ -1654,12 +1654,6 @@ static void check_preempt_wakeup(struct rq *rq, struct task_struct *p, int wake_
        struct cfs_rq *cfs_rq = task_cfs_rq(curr);
        int scale = cfs_rq->nr_running >= sched_nr_latency;
 
-       if (unlikely(rt_prio(p->prio)))
-               goto preempt;
-
-       if (unlikely(p->sched_class != &fair_sched_class))
-               return;
-
        if (unlikely(se == pse))
                return;
 
This page took 0.025704 seconds and 5 git commands to generate.