git: 1867702942b0 - main - arm64: fix the LINT-ACPI build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 07 Mar 2023 17:42:08 UTC
The branch main has been updated by kevans:
URL: https://cgit.FreeBSD.org/src/commit/?id=1867702942b09b6f89c607c552d285513c4ebe69
commit 1867702942b09b6f89c607c552d285513c4ebe69
Author: Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2023-03-07 17:37:31 +0000
Commit: Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2023-03-07 17:37:31 +0000
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 <sys/rman.h>
#include <sys/endian.h>
+#include <vm/vm.h>
+
#ifdef FDT
#include <dev/ofw/openfirm.h>
#include <dev/ofw/ofw_bus.h>