Ver Fonte

Merge branch 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip

* 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
  sched: Remove debugging check
Linus Torvalds há 15 anos atrás
pai
commit
de5e9d5820
1 ficheiros alterados com 0 adições e 1 exclusões
  1. 0 1
      kernel/sched.c

+ 0 - 1
kernel/sched.c

@@ -4128,7 +4128,6 @@ asmlinkage void __sched schedule(void)
 		rq->nr_switches++;
 		rq->curr = next;
 		++*switch_count;
-		WARN_ON_ONCE(test_tsk_need_resched(next));
 
 		context_switch(rq, prev, next); /* unlocks the rq */
 		/*