git: aede0d3badd1 - main - amd64/vmm: Make vmm.h more self-contained

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Fri, 14 Jun 2024 01:21:22 UTC
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=aede0d3badd1be92b57deb14c494785ab61022d4

commit aede0d3badd1be92b57deb14c494785ab61022d4
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-06-14 00:17:07 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
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 <sys/kassert.h>
+
 CTASSERT(VM_MAX_NAMELEN >= VM_MIN_NAMELEN);
 
 struct vm;