From 1867702942b09b6f89c607c552d285513c4ebe69 Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Tue, 7 Mar 2023 11:37:31 -0600 Subject: [PATCH] arm64: fix the LINT-ACPI build This file uses VM_MEMATTR_DEVICE_NP, which it gets through header pollution somewhere with FDT enabled. Pull in vm/vm.h to make it explicit. --- sys/arm64/cavium/thunder_pcie_pem.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/arm64/cavium/thunder_pcie_pem.c b/sys/arm64/cavium/thunder_pcie_pem.c index 3f4df8a621a3..28be2377df80 100644 --- a/sys/arm64/cavium/thunder_pcie_pem.c +++ b/sys/arm64/cavium/thunder_pcie_pem.c @@ -42,6 +42,8 @@ __FBSDID("$FreeBSD$"); #include #include +#include + #ifdef FDT #include #include