mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
sched: Remove debugging check
Linus reported that the new warning introduced by commit f26f9aff6a
"Sched: fix skip_clock_update optimization" triggers. The need_resched
flag can be set by other CPUs asynchronously so this debug check is
bogus - remove it.
Reported-by: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Mike Galbraith <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
8e92c20183
commit
050c6c9b89
1 changed files with 0 additions and 1 deletions
|
|
@ -4128,7 +4128,6 @@ need_resched_nonpreemptible:
|
|||
rq->nr_switches++;
|
||||
rq->curr = next;
|
||||
++*switch_count;
|
||||
WARN_ON_ONCE(test_tsk_need_resched(next));
|
||||
|
||||
context_switch(rq, prev, next); /* unlocks the rq */
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue