Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Mar 2023 17:42:08 GMT
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 1867702942b0 - main - arm64: fix the LINT-ACPI build
Message-ID:  <202303071742.327Hg8C1004820@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303071742.327Hg8C1004820>