summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2026-01-08 23:29:06 +0000
committerMark Johnston <markj@FreeBSD.org>2026-01-08 23:29:06 +0000
commit0aaa95ae02803ba0195c5da695ffbb17a79135bc (patch)
tree382ac700c45503ba1183bb33ab35cdedd26ddbe7 /sys/dev
parent5f13d6b60740c021951ae0e4d096903cfa1679e2 (diff)
vmm: Add an include to vmm_ktr.h for vm_name()
Required when KTR is configured. Remove the pcpu.h include while here, as it seems to be unneeded. Reported by: Jenkins Fixes: 5f13d6b60740 ("vmm: Move common accessors and vm_eventinfo into sys/dev/vmm")
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/vmm/vmm_ktr.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/vmm/vmm_ktr.h b/sys/dev/vmm/vmm_ktr.h
index 20370a229530..afd9831e4225 100644
--- a/sys/dev/vmm/vmm_ktr.h
+++ b/sys/dev/vmm/vmm_ktr.h
@@ -30,7 +30,9 @@
#define _VMM_KTR_H_
#include <sys/ktr.h>
-#include <sys/pcpu.h>
+#ifdef KTR
+#include <dev/vmm/vmm_vm.h>
+#endif
#ifndef KTR_VMM
#define KTR_VMM KTR_GEN