Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[firefly-linux-kernel-4.4.55.git] / kernel / sched / rt.c
index e0b7ba9c040f74b22bb63e0d957b672dac4adce0..418feb01344edb7e59f11643e153e2f1866cc4ed 100644 (file)
@@ -1632,11 +1632,6 @@ static int push_rt_task(struct rq *rq)
        if (!next_task)
                return 0;
 
-#ifdef __ARCH_WANT_INTERRUPTS_ON_CTXSW
-       if (unlikely(task_running(rq, next_task)))
-               return 0;
-#endif
-
 retry:
        if (unlikely(next_task == rq->curr)) {
                WARN_ON(1);