From nobody Sat Jul 16 12:45:52 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4LlSdD5X8pz4WRl1; Sat, 16 Jul 2022 12:45:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LlSdD4zHLz3J1n; Sat, 16 Jul 2022 12:45:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657975552; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=g/9nQDNGohWFi+AT9Qb6b+NxYePuUZTIHxhGsoyrOnA=; b=MX9knlm0l/brVmMA1ytRYyA2++WY/RBcLtlIyAMEs257mQ0iwlks+Ay26VCXCKUXQzXTNw kEfwF7aWNxXMIi6qiuZYlhgO8I4C2WG8O3GbJhUSfoO6mh+eQCwxl+9dMt0Q5u7Akd61Ju F2wmxXL9jIBqUWmxxT38GlEu8dYWG04KiIPpQb9e658v5oNzodygKLmPvyOVyzJc5tucn1 vS8ZUOvlQOoyxPZMnEdkhFnF2ckcTT0H6NcfxDQ0cANE67sk78BryJqIxnmyt4a64BWuWm YLYupTIZmao3VQ5yyBp2eetWqRUVzASHjKH8Yd6hgtc0j7EsuIuNTrk2/4SKNA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LlSdD40rTzMcn; Sat, 16 Jul 2022 12:45:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 26GCjqae076919; Sat, 16 Jul 2022 12:45:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26GCjqQG076918; Sat, 16 Jul 2022 12:45:52 GMT (envelope-from git) Date: Sat, 16 Jul 2022 12:45:52 GMT Message-Id: <202207161245.26GCjqQG076918@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Guzik Subject: git: 6eeba7dbd63c - main - ule: unbreak UP builds List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6eeba7dbd63c30704a713a2a8cdc5233600ef63b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657975552; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=g/9nQDNGohWFi+AT9Qb6b+NxYePuUZTIHxhGsoyrOnA=; b=wfhM+N8fJ+hX/tcbcpqxnLLgz8wgHmYKYPI/PjarEBuIUckS2gtTIvAhrxiHe9VTB6vRWf lYcQRs/AzEv/ZdJQWLujVnr0X0/1/RW2S6/x9kKttbqR6DCH9/gjBzyJoHCwwT8whqpi3m Hs0sHJCYcIC1/95O+74jwpOuA83WiuEtn0gEQCzYpPsdrpt+qLTY0Ly90JVT7cvqBoZIxj 3ub07gxa0vPks/m8urJA4zVzaDXYrlMw/Bl82v4A7dPlIdC4LfF/feAcDM5TaPOaumx54j 9b4XeE99Hrb4peyXnm5HX0XWEqqnFED856oIUWQAM+hkhVt4aPWEMZV/zO2Qug== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657975552; a=rsa-sha256; cv=none; b=NKL82aDnK1BY7sW6Ek4YCnUnrC5yQTXJIHDKdPcvLwAgY1TzfzvVKQLkzRO5nn6x5s+6Ot gk8rVDZCvLrg6DmjlsxCiUeJhuCCKU6Odi6SygybAEMd/oJccOQtN5mUQbcU2EpTaN+dkQ 152FBwBskPHbs4oLrbyU9Ky3gDNUCgQuJAJBXfLrfhG80/giGpsL64oM/Jfh5UQ0HackT5 0b9Vym76jQ0VhiuOuP9bKogY45uDlULjQOPRKczsnD2Zq/EXXr/eKLJZMenQwj4P5BU+Ip a6ebNxG3S/xokAoU3UD7ZOBa6a5vZg2eraWbxZ3IbfHHvCAJniFT+D09yw1FsQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=6eeba7dbd63c30704a713a2a8cdc5233600ef63b commit 6eeba7dbd63c30704a713a2a8cdc5233600ef63b Author: Mateusz Guzik AuthorDate: 2022-07-16 12:45:09 +0000 Commit: Mateusz Guzik 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,