git: 3026c74b87a2 - stable/14 - amd64/vmm: Make vmm.h more self-contained
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 Jun 2024 15:31:19 UTC
The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=3026c74b87a201c185168183a21d6d89d068ac7d commit 3026c74b87a201c185168183a21d6d89d068ac7d Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2024-06-14 00:17:07 +0000 Commit: Mark Johnston <markj@FreeBSD.org> 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 <sys/kassert.h> + CTASSERT(VM_MAX_NAMELEN >= VM_MIN_NAMELEN); struct vm;