Fix SCHED_ULE build on SMP. The previous revision (1.110)
introduced a KSE_CAN_MIGRATE() invocation with one argument missing (class). Either this is a genuine forget or it crept in from JHB's repo where he may have modified it. If it's the latter then it may require more attention. For now fix the make depend.
This commit is contained in:
parent
5854077600
commit
abdb4e5d01
@ -1628,7 +1628,7 @@ sched_add(struct thread *td)
|
||||
* Only try to preempt if the thread is unpinned or pinned to the
|
||||
* current CPU.
|
||||
*/
|
||||
if (KSE_CAN_MIGRATE(ke) || ke->ke_cpu == PCPU_GET(cpuid))
|
||||
if (KSE_CAN_MIGRATE(ke, class) || ke->ke_cpu == PCPU_GET(cpuid))
|
||||
#endif
|
||||
if (maybe_preempt(td))
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user