From nobody Thu Jun 27 15:31:19 2024 X-Original-To: dev-commits-src-all@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 4W92bX1WMhz5Ptrf; Thu, 27 Jun 2024 15:31:20 +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 4W92bW6CnGz4CXp; Thu, 27 Jun 2024 15:31:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719502279; 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=4qWyM19X1/OnIS4z+TZzcg7Y6ykIBR4icbzpntAxztw=; b=mV3W0sQMoVfzRCtX5noN0lr8k+96mYKCkeUCP743LF+IWoQovaDrDnvHaI3qzkqE0TgVLB nNWdmtvqCJW8Co2dKwcxwB706skKvNsUYS82myjSKvDNyMxO4Kxo6gUJmhymahy/wo0ffJ IaZjlQ2A5sO64r7E3m7Fii+9J+0BSQhRz9uGUhgY0wlRXCwKceFEbpd21vaTdgjlpgSh+X RXX/J6i+VNDEJ7R2+mNXVS3NMRYTo8Xi3eP82yxQmoRFDLt5lELeDTmYYiqED9NtY66XUY ThTxk/Egjyr0XVhL/BrLzCMSoZvhWQzESmSO9X3/gs/r1dwiceRGdjcTez1XEg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719502279; a=rsa-sha256; cv=none; b=DzPtw9SPoZSLO4/vIAkD0AOiZN4WF5JP3ifZLL43rOxhvuHD9HI+zQRtiATf4B8hlcz46V 7u40EWlvfiCoTKm39d3VgRn2Mdp1lrmIqxtbXLxROFV8flNIHfXHs9TWBMkGpYr3zmXmNL RfW8HUdOIULGKaZyt9BzlujN8gdTvP9Ixp2524ejh+Kg4olHTzfzaR0/GD5znEp29tC43h Lpt7sZsaEBpdmn3WRdbDBN36RnCpJpcbHuNady7lqNeZ/6Fm55T9EZzx+x/aOLfl/NP//A WNVTrdIEVE8bj6mSFLLFo/6MaBZMKVseQamj5FxGyhSat/KJmo+TzSUeM/bRog== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719502279; 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=4qWyM19X1/OnIS4z+TZzcg7Y6ykIBR4icbzpntAxztw=; b=r0JzsXdWQxpSznyPJTXmvGm1x7EyhUcd0IgXQOMRI/kgPnuWi6l0Dv3LOHBhPM3BDon/py TpGk6htO2km6wSsUlmGZ60HRwdnyVs0c+Qkgbcl2QhyE/YhZRhfQqsPeqltKurZgeSfXV5 TTpZjMJu9WRslnznBPDCql3NLo1XTm8MfI+e1IztMJ5FEma+hL/k6cPk8MhOf7Y/b9tA+c n/C7Qi/Iux0WL5+FDtq++D7kY76vebG5Ax2T2k3/yhQPNKYvf+RMcBzTQ7ISIdMmAu0Nd1 0Q20Iy49+kk7iG+sOYlBkDvPJfVyT9hbOE4F3RoRSLsh+d1PPSXcHKFFOt4b/A== 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 4W92bW58hTzHQr; Thu, 27 Jun 2024 15:31:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 45RFVJW3079226; Thu, 27 Jun 2024 15:31:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45RFVJMM079223; Thu, 27 Jun 2024 15:31:19 GMT (envelope-from git) Date: Thu, 27 Jun 2024 15:31:19 GMT Message-Id: <202406271531.45RFVJMM079223@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 3026c74b87a2 - stable/14 - amd64/vmm: Make vmm.h more self-contained List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 3026c74b87a201c185168183a21d6d89d068ac7d Auto-Submitted: auto-generated The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=3026c74b87a201c185168183a21d6d89d068ac7d commit 3026c74b87a201c185168183a21d6d89d068ac7d Author: Mark Johnston AuthorDate: 2024-06-14 00:17:07 +0000 Commit: Mark Johnston CommitDate: 2024-06-27 15:27:42 +0000 amd64/vmm: Make vmm.h more self-contained CTASSERT is defined in kassert.h, so include that here. No functional change intended. MFC after: 1 week (cherry picked from commit aede0d3badd1be92b57deb14c494785ab61022d4) --- sys/amd64/include/vmm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/amd64/include/vmm.h b/sys/amd64/include/vmm.h index 7d5d13678122..368c3a6cb95b 100644 --- a/sys/amd64/include/vmm.h +++ b/sys/amd64/include/vmm.h @@ -144,6 +144,8 @@ enum x2apic_state { (SPECNAMELEN - VM_MAX_PREFIXLEN - VM_MAX_SUFFIXLEN - 1) #ifdef _KERNEL +#include + CTASSERT(VM_MAX_NAMELEN >= VM_MIN_NAMELEN); struct vm;