X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=kernel%2Fsched_rt.c;h=78fcacf8715ec7a1743240016a9bd0252189b51a;hb=7e2d1469b5835ce42794f5bb7d160cd3ca81673f;hp=583a1368afe6ed7d96879d762f73553b2068e27c;hpb=d65616a92c9fab8fc3caa120d18b7be7b6285914;p=pandora-kernel.git diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c index 583a1368afe6..78fcacf8715e 100644 --- a/kernel/sched_rt.c +++ b/kernel/sched_rt.c @@ -1388,6 +1388,11 @@ 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);