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:
Bosko Milekic 2004-07-03 01:19:46 +00:00
parent 5854077600
commit abdb4e5d01

View File

@ -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;