From nobody Fri Jun 14 01:21:22 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 4W0hLq05sJz5N2qt; Fri, 14 Jun 2024 01:21:23 +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 4W0hLp3rFlz4VQh; Fri, 14 Jun 2024 01:21:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718328082; 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=Zk5Q9bUxQ+KLI5xwHbHaJouO0twxQdeVUJCOE1q0vWw=; b=CCtL6hT0qs7gId5H7WElIB02J9SWWp3U77dOYMxY0AVp0zupMK96BithjliGbhlvECzKp7 TtjYzgytpyYgMUnk9eNZnfONgMIIINwZRR7tR8KS7kVi280QIbPN9xWV/6Vsx4i30PmIol 0OOiiTmJA/UYz2jl9fsn1iGaicKu8HFK16y3rxhSiTraUAwDJiIE7sz9G3om8gKcpU4OhB v9X2qIvF0pXyXJIOWrOF/RShU6SjznhBYG2fUnFdm9qmVgX0epq/a8IkBysXVD0z5kN9w8 +5RlIU8OibeGnWulz7J5yGX7Qv4UTO3ic9D9KuKDYrwHm3YuWFNPUGiwCekI8g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718328082; a=rsa-sha256; cv=none; b=A7BBcEYH+uFd+DqMCm9fEvaE/1ag/c0BchOc7Zfx8xGXh5gY90TMShkNRW+sCfmTTx41/w D1DZ6iScYM4Hw/1i23+pr9Ui0HK3flH8ghSLvjdZt8UHGlxfjKRWzWm72ckrrlPDdxe8WD WymRg0cHeo/JAhbvsNJGORpuxYZ8PgGoegi06HiK9ADggh2/fLiMLkXi25yyqwk8jHP0xy dKWpl6spTTLkheeXDRHNhktMoofUiyzWWoCAUHBI34AMO4PWHQGFogzPbYt7Q97AHsfGch 1aucAzQevRd4Y9XVYJcU/0cLYjgW5s8KBCoAhSqPYo6M1cB42HTqvQiJrfXbIA== 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=1718328082; 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=Zk5Q9bUxQ+KLI5xwHbHaJouO0twxQdeVUJCOE1q0vWw=; b=UQaOEmmF04PNiqWjWsrRYMVImedu+oztEF1f1WwbTCFcjdHdwGvMwGGzA3TbUcGAbKoXX1 iMrfk8wWVtPUTRC9WFVGJGBpld9WAvBWxZrELi2LfvjBlqvnaciXGXBuJEbfMY4GgVPat7 V/X3CupZZaHD0T0PsurVngg6IspEv66LQ2WZKanEFKJu2NUPyewTunc27snhAaJPXnYw/k bL345zmGKpTtnBRqXGfegU/VRUjfJoz8nE3K6xcyLgeEqY1n4b0D5mEf7TqAWRwmvaFKFe a5CUOPwInMndNuS7lExZ8fkzHNqRhkGvCP25bYTlRY8BIw2w563bSnamE5Uuig== 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 4W0hLp3SZJz10m4; Fri, 14 Jun 2024 01:21:22 +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 45E1LM73057375; Fri, 14 Jun 2024 01:21:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45E1LMGk057361; Fri, 14 Jun 2024 01:21:22 GMT (envelope-from git) Date: Fri, 14 Jun 2024 01:21:22 GMT Message-Id: <202406140121.45E1LMGk057361@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: aede0d3badd1 - main - 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/main X-Git-Reftype: branch X-Git-Commit: aede0d3badd1be92b57deb14c494785ab61022d4 Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=aede0d3badd1be92b57deb14c494785ab61022d4 commit aede0d3badd1be92b57deb14c494785ab61022d4 Author: Mark Johnston AuthorDate: 2024-06-14 00:17:07 +0000 Commit: Mark Johnston CommitDate: 2024-06-14 01:19:00 +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 --- 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 08c54ed7c49b..37972d54bd99 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;