git: 781a630db6fe - main - Restore #include <sys/devmap.h>

From: Oskar Holmlund <oh_at_FreeBSD.org>
Date: Thu, 29 May 2025 10:20:39 UTC
The branch main has been updated by oh:

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

commit 781a630db6fecfb26ab5e3ee97b4d9b4c87de406
Author:     Oskar Holmlund <oh@FreeBSD.org>
AuthorDate: 2025-05-29 10:14:25 +0000
Commit:     Oskar Holmlund <oh@FreeBSD.org>
CommitDate: 2025-05-29 10:14:25 +0000

    Restore #include <sys/devmap.h>
    
    Partial revert https://reviews.freebsd.org/D50017
    These files still use devmap_add_entry() and needs sys/devmap.h
    
    Reviewed by: andrew
    Approved by: manu (mentor)
    Differential revision: https://reviews.freebsd.org/D50574
---
 sys/arm/annapurna/alpine/alpine_machdep.c | 1 +
 sys/arm/freescale/vybrid/vf_machdep.c     | 1 +
 sys/arm/qualcomm/ipq4018_machdep.c        | 1 +
 sys/arm/ti/ti_machdep.c                   | 1 +
 4 files changed, 4 insertions(+)

diff --git a/sys/arm/annapurna/alpine/alpine_machdep.c b/sys/arm/annapurna/alpine/alpine_machdep.c
index a4e51d339354..89d21bf9fcae 100644
--- a/sys/arm/annapurna/alpine/alpine_machdep.c
+++ b/sys/arm/annapurna/alpine/alpine_machdep.c
@@ -32,6 +32,7 @@
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/bus.h>
+#include <sys/devmap.h>
 
 #include <vm/vm.h>
 #include <vm/pmap.h>
diff --git a/sys/arm/freescale/vybrid/vf_machdep.c b/sys/arm/freescale/vybrid/vf_machdep.c
index fe36558b7ece..2ab14f5154eb 100644
--- a/sys/arm/freescale/vybrid/vf_machdep.c
+++ b/sys/arm/freescale/vybrid/vf_machdep.c
@@ -30,6 +30,7 @@
 
 #include <sys/param.h>
 #include <sys/systm.h>
+#include <sys/devmap.h>
 
 #include <vm/vm.h>
 
diff --git a/sys/arm/qualcomm/ipq4018_machdep.c b/sys/arm/qualcomm/ipq4018_machdep.c
index c0131d08dee6..49dd2ff0193a 100644
--- a/sys/arm/qualcomm/ipq4018_machdep.c
+++ b/sys/arm/qualcomm/ipq4018_machdep.c
@@ -31,6 +31,7 @@
 #include <sys/systm.h>
 #include <sys/bus.h>
 #include <sys/reboot.h>
+#include <sys/devmap.h>
 #include <sys/physmem.h>
 #include <sys/lock.h>
 
diff --git a/sys/arm/ti/ti_machdep.c b/sys/arm/ti/ti_machdep.c
index ee4f416eeded..29afcb7d9b59 100644
--- a/sys/arm/ti/ti_machdep.c
+++ b/sys/arm/ti/ti_machdep.c
@@ -42,6 +42,7 @@
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/bus.h>
+#include <sys/devmap.h>
 
 #include <vm/vm.h>
 #include <vm/pmap.h>