aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2022-06-13 17:35:39 +0000
committerBrooks Davis <brooks@FreeBSD.org>2022-06-13 17:35:39 +0000
commit3cd1b382c6641f7e04e243dec46ee71744c7630e (patch)
tree25438d0e16e5849ea15d49ecf37d5aea91e4b6d1
parentc2c8157ebed76ee174b052a82b422e60b2d49b62 (diff)
-rw-r--r--include/i386/Makefile1
-rw-r--r--sys/amd64/include/pmap.h6
2 files changed, 7 insertions, 0 deletions
diff --git a/include/i386/Makefile b/include/i386/Makefile
index e7eb0dd0c2eb..9f6ab9b47766 100644
--- a/include/i386/Makefile
+++ b/include/i386/Makefile
@@ -6,6 +6,7 @@ INCS= \
asmacros.h \
atomic.h \
cpufunc.h \
+ pmap.h \
profile.h \
segments.h
INCSDIR= ${INCLUDEDIR}/i386
diff --git a/sys/amd64/include/pmap.h b/sys/amd64/include/pmap.h
index 318e70e7794c..9aacae73ebd4 100644
--- a/sys/amd64/include/pmap.h
+++ b/sys/amd64/include/pmap.h
@@ -44,6 +44,10 @@
* $FreeBSD$
*/
+#ifdef __i386__
+#include <i386/pmap.h>
+#else /* !__i386__ */
+
#ifndef _MACHINE_PMAP_H_
#define _MACHINE_PMAP_H_
@@ -584,3 +588,5 @@ pmap_pml5e_index(vm_offset_t va)
#endif /* !LOCORE */
#endif /* !_MACHINE_PMAP_H_ */
+
+#endif /* __i386__ */