ule: unbreak UP builds

Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Mateusz Guzik 2022-07-16 12:45:09 +00:00
parent db1c3dbe82
commit 6eeba7dbd6

View File

@ -2137,7 +2137,9 @@ static struct mtx *
sched_switch_migrate(struct tdq *tdq, struct thread *td, int flags)
{
struct tdq *tdn;
#ifdef SMP
int lowpri;
#endif
KASSERT(THREAD_CAN_MIGRATE(td) ||
(td_get_sched(td)->ts_flags & TSF_BOUND) != 0,