Date: Sat, 16 Jul 2022 12:45:52 GMT From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 6eeba7dbd63c - main - ule: unbreak UP builds Message-ID: <202207161245.26GCjqQG076918@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=6eeba7dbd63c30704a713a2a8cdc5233600ef63b commit 6eeba7dbd63c30704a713a2a8cdc5233600ef63b Author: Mateusz Guzik <mjg@FreeBSD.org> AuthorDate: 2022-07-16 12:45:09 +0000 Commit: Mateusz Guzik <mjg@FreeBSD.org> CommitDate: 2022-07-16 12:45:09 +0000 ule: unbreak UP builds Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/kern/sched_ule.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c index b5ddae868ebb..138cb13e0fbe 100644 --- a/sys/kern/sched_ule.c +++ b/sys/kern/sched_ule.c @@ -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,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207161245.26GCjqQG076918>