summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSvatopluk Kraus <skra@FreeBSD.org>2016-02-22 09:02:20 +0000
committerSvatopluk Kraus <skra@FreeBSD.org>2016-02-22 09:02:20 +0000
commita1e1814d763ae0dd1c50a85bbd6884969ed26126 (patch)
tree556a460f8cc515163546f02c872c1deb001fb20c
parented3960349bd87a4f3f3d9a1189b5425ec677797e (diff)
Notes
-rw-r--r--share/man/man9/bios.91
-rw-r--r--sys/amd64/cloudabi64/cloudabi64_sysvec.c1
-rw-r--r--sys/amd64/vmm/amd/npt.c2
-rw-r--r--sys/amd64/vmm/amd/svm.c1
-rw-r--r--sys/arm/annapurna/alpine/alpine_machdep.c1
-rw-r--r--sys/arm/arm/mp_machdep.c1
-rw-r--r--sys/arm64/arm64/minidump_machdep.c1
-rw-r--r--sys/arm64/cloudabi64/cloudabi64_sysvec.c1
-rw-r--r--sys/compat/linuxkpi/common/include/linux/dma-mapping.h1
-rw-r--r--sys/compat/linuxkpi/common/include/linux/list.h1
-rw-r--r--sys/compat/linuxkpi/common/src/linux_compat.c1
-rw-r--r--sys/compat/linuxkpi/common/src/linux_pci.c1
-rw-r--r--sys/dev/ce/if_ce.c1
-rw-r--r--sys/dev/cp/if_cp.c1
-rw-r--r--sys/dev/drm/drmP.h1
-rw-r--r--sys/dev/drm2/drmP.h1
-rw-r--r--sys/dev/fb/machfb.c1
-rw-r--r--sys/dev/isci/isci_oem_parameters.c1
-rw-r--r--sys/dev/ntb/if_ntb/if_ntb.c1
-rw-r--r--sys/dev/ntb/ntb_hw/ntb_hw.c1
-rw-r--r--sys/dev/pms/freebsd/driver/ini/src/agtiapi.c1
-rw-r--r--sys/dev/rt/if_rt.c1
-rw-r--r--sys/dev/siba/siba_pcib.c1
-rw-r--r--sys/dev/vt/hw/efifb/efifb.c1
-rw-r--r--sys/i386/bios/mca_machdep.c1
-rw-r--r--sys/i386/pci/pci_cfgreg.c1
-rw-r--r--sys/mips/adm5120/admpci.c1
-rw-r--r--sys/mips/atheros/ar71xx_fixup.c1
-rw-r--r--sys/mips/atheros/ar71xx_pci.c1
-rw-r--r--sys/mips/atheros/ar71xx_spi.c1
-rw-r--r--sys/mips/atheros/ar724x_pci.c1
-rw-r--r--sys/mips/atheros/if_arge.c1
-rw-r--r--sys/mips/atheros/qca955x_pci.c1
-rw-r--r--sys/mips/cavium/cvmx_config.h1
-rw-r--r--sys/mips/cavium/octopci.c1
-rw-r--r--sys/mips/idt/idtpci.c1
-rw-r--r--sys/mips/malta/gt_pci.c1
-rw-r--r--sys/mips/mips/minidump_machdep.c1
-rw-r--r--sys/mips/mips/nexus.c1
-rw-r--r--sys/mips/nlm/xlp_simplebus.c1
-rw-r--r--sys/mips/rt305x/rt305x_pci.c1
-rw-r--r--sys/mips/sibyte/sb_zbpci.c1
-rw-r--r--sys/powerpc/aim/slb.c1
-rw-r--r--sys/powerpc/ofw/ofw_real.c1
-rw-r--r--sys/powerpc/ofw/rtas.c1
-rw-r--r--sys/powerpc/powermac/macgpio.c1
-rw-r--r--sys/powerpc/powermac/macio.c1
-rw-r--r--sys/powerpc/powermac/platform_powermac.c1
-rw-r--r--sys/powerpc/powerpc/genassym.c1
-rw-r--r--sys/powerpc/powerpc/trap.c1
-rw-r--r--sys/powerpc/ps3/if_glc.c1
-rw-r--r--sys/powerpc/ps3/platform_ps3.c1
-rw-r--r--sys/powerpc/ps3/ps3_syscons.c1
-rw-r--r--sys/powerpc/ps3/ps3bus.c1
-rw-r--r--sys/powerpc/ps3/ps3cdrom.c1
-rw-r--r--sys/powerpc/ps3/ps3disk.c1
-rw-r--r--sys/powerpc/pseries/platform_chrp.c1
-rw-r--r--sys/powerpc/psim/iobus.c1
-rw-r--r--sys/sparc64/pci/fire.c1
-rw-r--r--sys/sparc64/sparc64/iommu.c1
-rw-r--r--sys/sparc64/sparc64/tlb.c1
-rw-r--r--sys/x86/acpica/acpi_wakeup.c1
-rw-r--r--sys/x86/x86/nexus.c1
63 files changed, 0 insertions, 64 deletions
diff --git a/share/man/man9/bios.9 b/share/man/man9/bios.9
index 48bbe16c0fcf..d5e764b06cfd 100644
--- a/share/man/man9/bios.9
+++ b/share/man/man9/bios.9
@@ -38,7 +38,6 @@
.In vm/vm.h
.In vm/pmap.h
.In machine/param.h
-.In machine/pmap.h
.In machine/pc/bios.h
.Ft uint32_t
.Fn bios_sigsearch "uint32_t start" "u_char *sig" "int siglen" "int paralen" "int sigofs"
diff --git a/sys/amd64/cloudabi64/cloudabi64_sysvec.c b/sys/amd64/cloudabi64/cloudabi64_sysvec.c
index e6e680bb512d..30a2bbf78498 100644
--- a/sys/amd64/cloudabi64/cloudabi64_sysvec.c
+++ b/sys/amd64/cloudabi64/cloudabi64_sysvec.c
@@ -36,7 +36,6 @@ __FBSDID("$FreeBSD$");
#include <machine/frame.h>
#include <machine/pcb.h>
-#include <machine/pmap.h>
#include <machine/vmparam.h>
#include <compat/cloudabi/cloudabi_util.h>
diff --git a/sys/amd64/vmm/amd/npt.c b/sys/amd64/vmm/amd/npt.c
index bebb4d587628..e1c1b79e1b38 100644
--- a/sys/amd64/vmm/amd/npt.c
+++ b/sys/amd64/vmm/amd/npt.c
@@ -36,8 +36,6 @@ __FBSDID("$FreeBSD$");
#include <vm/pmap.h>
#include <vm/vm_extern.h>
-#include <machine/pmap.h>
-
#include "npt.h"
SYSCTL_DECL(_hw_vmm);
diff --git a/sys/amd64/vmm/amd/svm.c b/sys/amd64/vmm/amd/svm.c
index ca5141a1a782..bd70d1135b44 100644
--- a/sys/amd64/vmm/amd/svm.c
+++ b/sys/amd64/vmm/amd/svm.c
@@ -41,7 +41,6 @@ __FBSDID("$FreeBSD$");
#include <machine/cpufunc.h>
#include <machine/psl.h>
-#include <machine/pmap.h>
#include <machine/md_var.h>
#include <machine/specialreg.h>
#include <machine/smp.h>
diff --git a/sys/arm/annapurna/alpine/alpine_machdep.c b/sys/arm/annapurna/alpine/alpine_machdep.c
index dc6d3a4245db..54e26bf643e7 100644
--- a/sys/arm/annapurna/alpine/alpine_machdep.c
+++ b/sys/arm/annapurna/alpine/alpine_machdep.c
@@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$");
#include <machine/bus.h>
#include <machine/frame.h> /* For trapframe_t, used in <machine/machdep.h> */
#include <machine/machdep.h>
-#include <machine/pmap.h>
#include <machine/devmap.h>
#include <machine/platform.h>
#include <machine/fdt.h>
diff --git a/sys/arm/arm/mp_machdep.c b/sys/arm/arm/mp_machdep.c
index 8643860792d5..ed5714eadea2 100644
--- a/sys/arm/arm/mp_machdep.c
+++ b/sys/arm/arm/mp_machdep.c
@@ -50,7 +50,6 @@ __FBSDID("$FreeBSD$");
#include <machine/debug_monitor.h>
#include <machine/smp.h>
#include <machine/pcb.h>
-#include <machine/pmap.h>
#include <machine/physmem.h>
#include <machine/intr.h>
#include <machine/vmparam.h>
diff --git a/sys/arm64/arm64/minidump_machdep.c b/sys/arm64/arm64/minidump_machdep.c
index 678f1b592574..a02db58f2ae0 100644
--- a/sys/arm64/arm64/minidump_machdep.c
+++ b/sys/arm64/arm64/minidump_machdep.c
@@ -52,7 +52,6 @@ __FBSDID("$FreeBSD$");
#include <vm/pmap.h>
#include <machine/md_var.h>
-#include <machine/pmap.h>
#include <machine/pte.h>
#include <machine/vmparam.h>
#include <machine/minidump.h>
diff --git a/sys/arm64/cloudabi64/cloudabi64_sysvec.c b/sys/arm64/cloudabi64/cloudabi64_sysvec.c
index 17fa0d4f5b62..10b98209a291 100644
--- a/sys/arm64/cloudabi64/cloudabi64_sysvec.c
+++ b/sys/arm64/cloudabi64/cloudabi64_sysvec.c
@@ -36,7 +36,6 @@ __FBSDID("$FreeBSD$");
#include <machine/frame.h>
#include <machine/pcb.h>
-#include <machine/pmap.h>
#include <machine/vmparam.h>
#include <compat/cloudabi/cloudabi_util.h>
diff --git a/sys/compat/linuxkpi/common/include/linux/dma-mapping.h b/sys/compat/linuxkpi/common/include/linux/dma-mapping.h
index da08751d31de..f18f53dd654d 100644
--- a/sys/compat/linuxkpi/common/include/linux/dma-mapping.h
+++ b/sys/compat/linuxkpi/common/include/linux/dma-mapping.h
@@ -47,7 +47,6 @@
#include <vm/pmap.h>
#include <machine/bus.h>
-#include <machine/pmap.h>
enum dma_data_direction {
DMA_BIDIRECTIONAL = 0,
diff --git a/sys/compat/linuxkpi/common/include/linux/list.h b/sys/compat/linuxkpi/common/include/linux/list.h
index f20c8632ba27..63e8af518621 100644
--- a/sys/compat/linuxkpi/common/include/linux/list.h
+++ b/sys/compat/linuxkpi/common/include/linux/list.h
@@ -68,7 +68,6 @@
#include <vm/vm.h>
#include <vm/vm_object.h>
#include <vm/pmap.h>
-#include <machine/pmap.h>
#define prefetch(x)
diff --git a/sys/compat/linuxkpi/common/src/linux_compat.c b/sys/compat/linuxkpi/common/src/linux_compat.c
index 9c736647bfd6..b8a080151292 100644
--- a/sys/compat/linuxkpi/common/src/linux_compat.c
+++ b/sys/compat/linuxkpi/common/src/linux_compat.c
@@ -50,7 +50,6 @@ __FBSDID("$FreeBSD$");
#include <vm/pmap.h>
#include <machine/stdarg.h>
-#include <machine/pmap.h>
#include <linux/kobject.h>
#include <linux/device.h>
diff --git a/sys/compat/linuxkpi/common/src/linux_pci.c b/sys/compat/linuxkpi/common/src/linux_pci.c
index 74d4f7711297..0214e32bbb8b 100644
--- a/sys/compat/linuxkpi/common/src/linux_pci.c
+++ b/sys/compat/linuxkpi/common/src/linux_pci.c
@@ -44,7 +44,6 @@ __FBSDID("$FreeBSD$");
#include <vm/pmap.h>
#include <machine/stdarg.h>
-#include <machine/pmap.h>
#include <linux/kobject.h>
#include <linux/device.h>
diff --git a/sys/dev/ce/if_ce.c b/sys/dev/ce/if_ce.c
index 8ef3e1ef3884..85b9fce33017 100644
--- a/sys/dev/ce/if_ce.c
+++ b/sys/dev/ce/if_ce.c
@@ -76,7 +76,6 @@ __FBSDID("$FreeBSD$");
#include <dev/ce/ceddk.h>
#include <machine/cserial.h>
#include <machine/resource.h>
-#include <machine/pmap.h>
/* If we don't have Cronyx's sppp version, we don't have fr support via sppp */
#ifndef PP_FR
diff --git a/sys/dev/cp/if_cp.c b/sys/dev/cp/if_cp.c
index 44791d022101..f1a120f52feb 100644
--- a/sys/dev/cp/if_cp.c
+++ b/sys/dev/cp/if_cp.c
@@ -67,7 +67,6 @@ __FBSDID("$FreeBSD$");
#include <dev/cp/cpddk.h>
#include <machine/cserial.h>
#include <machine/resource.h>
-#include <machine/pmap.h>
/* If we don't have Cronyx's sppp version, we don't have fr support via sppp */
#ifndef PP_FR
diff --git a/sys/dev/drm/drmP.h b/sys/dev/drm/drmP.h
index dc7d80404e53..33da6ff6e592 100644
--- a/sys/dev/drm/drmP.h
+++ b/sys/dev/drm/drmP.h
@@ -76,7 +76,6 @@ struct drm_file;
#include <vm/vm_param.h>
#include <vm/vm_phys.h>
#include <machine/param.h>
-#include <machine/pmap.h>
#include <machine/bus.h>
#include <machine/resource.h>
#if defined(__i386__) || defined(__amd64__)
diff --git a/sys/dev/drm2/drmP.h b/sys/dev/drm2/drmP.h
index b3633c364913..86c7f94c3c3d 100644
--- a/sys/dev/drm2/drmP.h
+++ b/sys/dev/drm2/drmP.h
@@ -77,7 +77,6 @@ __FBSDID("$FreeBSD$");
#include <vm/vm_param.h>
#include <vm/vm_phys.h>
#include <machine/param.h>
-#include <machine/pmap.h>
#include <machine/bus.h>
#include <machine/resource.h>
#if defined(__i386__) || defined(__amd64__)
diff --git a/sys/dev/fb/machfb.c b/sys/dev/fb/machfb.c
index 368ff6a6a499..de1e98e9d66e 100644
--- a/sys/dev/fb/machfb.c
+++ b/sys/dev/fb/machfb.c
@@ -56,7 +56,6 @@ __FBSDID("$FreeBSD$");
#include <machine/bus.h>
#include <machine/bus_private.h>
#include <machine/ofw_machdep.h>
-#include <machine/pmap.h>
#include <machine/resource.h>
#include <machine/sc_machdep.h>
diff --git a/sys/dev/isci/isci_oem_parameters.c b/sys/dev/isci/isci_oem_parameters.c
index d17698f1cdec..83234a2cce8c 100644
--- a/sys/dev/isci/isci_oem_parameters.c
+++ b/sys/dev/isci/isci_oem_parameters.c
@@ -34,7 +34,6 @@ __FBSDID("$FreeBSD$");
#include <dev/isci/isci.h>
#include <vm/vm.h>
#include <vm/pmap.h>
-#include <machine/pmap.h>
#include <machine/vmparam.h>
#include <machine/pc/bios.h>
#include <dev/isci/scil/scu_bios_definitions.h>
diff --git a/sys/dev/ntb/if_ntb/if_ntb.c b/sys/dev/ntb/if_ntb/if_ntb.c
index b28502f1d832..6684edd7d2f7 100644
--- a/sys/dev/ntb/if_ntb/if_ntb.c
+++ b/sys/dev/ntb/if_ntb/if_ntb.c
@@ -57,7 +57,6 @@ __FBSDID("$FreeBSD$");
#include <machine/bus.h>
#include <machine/cpufunc.h>
-#include <machine/pmap.h>
#include <netinet/in.h>
#include <netinet/ip.h>
diff --git a/sys/dev/ntb/ntb_hw/ntb_hw.c b/sys/dev/ntb/ntb_hw/ntb_hw.c
index 90b27a3f8b1f..cb8f27cd46ec 100644
--- a/sys/dev/ntb/ntb_hw/ntb_hw.c
+++ b/sys/dev/ntb/ntb_hw/ntb_hw.c
@@ -45,7 +45,6 @@ __FBSDID("$FreeBSD$");
#include <vm/pmap.h>
#include <machine/bus.h>
#include <machine/intr_machdep.h>
-#include <machine/pmap.h>
#include <machine/resource.h>
#include <dev/pci/pcireg.h>
#include <dev/pci/pcivar.h>
diff --git a/sys/dev/pms/freebsd/driver/ini/src/agtiapi.c b/sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
index 0a500cb23bb6..fcdf6a39ecf8 100644
--- a/sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
+++ b/sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
@@ -43,7 +43,6 @@ __FBSDID("$FreeBSD$");
#include <machine/resource.h>
#include <vm/vm.h> // 1. for vtophys
#include <vm/pmap.h> // 2. for vtophys
-#include <machine/pmap.h> // 3. for vtophys (yes, three)
#include <dev/pci/pcivar.h> // For pci_get macros
#include <dev/pci/pcireg.h>
#include <sys/endian.h>
diff --git a/sys/dev/rt/if_rt.c b/sys/dev/rt/if_rt.c
index 3d3a3f35623a..8057b2c6dcb4 100644
--- a/sys/dev/rt/if_rt.c
+++ b/sys/dev/rt/if_rt.c
@@ -54,7 +54,6 @@ __FBSDID("$FreeBSD$");
#include <vm/vm_param.h>
#include <vm/vm.h>
#include <vm/pmap.h>
-#include <machine/pmap.h>
#include <sys/bus.h>
#include <sys/rman.h>
diff --git a/sys/dev/siba/siba_pcib.c b/sys/dev/siba/siba_pcib.c
index cd755c030187..5780e62e8f29 100644
--- a/sys/dev/siba/siba_pcib.c
+++ b/sys/dev/siba/siba_pcib.c
@@ -47,7 +47,6 @@ __FBSDID("$FreeBSD$");
#include <machine/bus.h>
#include <machine/cpu.h>
#include <machine/pcb.h>
-#include <machine/pmap.h>
#include <dev/pci/pcireg.h>
#include <dev/pci/pcivar.h>
diff --git a/sys/dev/vt/hw/efifb/efifb.c b/sys/dev/vt/hw/efifb/efifb.c
index 4184f776271d..bd983e37c686 100644
--- a/sys/dev/vt/hw/efifb/efifb.c
+++ b/sys/dev/vt/hw/efifb/efifb.c
@@ -43,7 +43,6 @@ __FBSDID("$FreeBSD$");
#include <machine/vmparam.h>
#include <vm/vm.h>
#include <vm/pmap.h>
-#include <machine/pmap.h>
#include <dev/vt/vt.h>
#include <dev/vt/hw/fb/vt_fb.h>
diff --git a/sys/i386/bios/mca_machdep.c b/sys/i386/bios/mca_machdep.c
index 4b78c13693a9..e511f3ff786c 100644
--- a/sys/i386/bios/mca_machdep.c
+++ b/sys/i386/bios/mca_machdep.c
@@ -33,7 +33,6 @@ __FBSDID("$FreeBSD$");
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <vm/pmap.h>
-#include <machine/pmap.h>
#include <machine/md_var.h>
#include <machine/vm86.h>
#include <machine/pc/bios.h>
diff --git a/sys/i386/pci/pci_cfgreg.c b/sys/i386/pci/pci_cfgreg.c
index 2716a7a23ce6..288bcb9dd8fd 100644
--- a/sys/i386/pci/pci_cfgreg.c
+++ b/sys/i386/pci/pci_cfgreg.c
@@ -51,7 +51,6 @@ __FBSDID("$FreeBSD$");
#include <vm/vm_kern.h>
#include <vm/vm_extern.h>
#include <vm/pmap.h>
-#include <machine/pmap.h>
#ifdef XBOX
#include <machine/xbox.h>
diff --git a/sys/mips/adm5120/admpci.c b/sys/mips/adm5120/admpci.c
index 9b36d37f3f15..0fb0b54ca5cd 100644
--- a/sys/mips/adm5120/admpci.c
+++ b/sys/mips/adm5120/admpci.c
@@ -79,7 +79,6 @@ __FBSDID("$FreeBSD$");
#include <machine/bus.h>
#include <machine/cpu.h>
-#include <machine/pmap.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
diff --git a/sys/mips/atheros/ar71xx_fixup.c b/sys/mips/atheros/ar71xx_fixup.c
index 8ab88559f15c..27747bdb4892 100644
--- a/sys/mips/atheros/ar71xx_fixup.c
+++ b/sys/mips/atheros/ar71xx_fixup.c
@@ -49,7 +49,6 @@ __FBSDID("$FreeBSD$");
#include <machine/bus.h>
#include <machine/cpu.h>
#include <machine/intr_machdep.h>
-#include <machine/pmap.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
diff --git a/sys/mips/atheros/ar71xx_pci.c b/sys/mips/atheros/ar71xx_pci.c
index 183f8841fee7..f8fc255f1aec 100644
--- a/sys/mips/atheros/ar71xx_pci.c
+++ b/sys/mips/atheros/ar71xx_pci.c
@@ -49,7 +49,6 @@ __FBSDID("$FreeBSD$");
#include <machine/bus.h>
#include <machine/cpu.h>
#include <machine/intr_machdep.h>
-#include <machine/pmap.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
diff --git a/sys/mips/atheros/ar71xx_spi.c b/sys/mips/atheros/ar71xx_spi.c
index a7fc9935d0ad..943a9d8ab9a8 100644
--- a/sys/mips/atheros/ar71xx_spi.c
+++ b/sys/mips/atheros/ar71xx_spi.c
@@ -44,7 +44,6 @@ __FBSDID("$FreeBSD$");
#include <machine/bus.h>
#include <machine/cpu.h>
-#include <machine/pmap.h>
#include <dev/spibus/spi.h>
#include <dev/spibus/spibusvar.h>
diff --git a/sys/mips/atheros/ar724x_pci.c b/sys/mips/atheros/ar724x_pci.c
index 3b01801d04a9..12419d16ad02 100644
--- a/sys/mips/atheros/ar724x_pci.c
+++ b/sys/mips/atheros/ar724x_pci.c
@@ -48,7 +48,6 @@ __FBSDID("$FreeBSD$");
#include <machine/bus.h>
#include <machine/cpu.h>
#include <machine/intr_machdep.h>
-#include <machine/pmap.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
diff --git a/sys/mips/atheros/if_arge.c b/sys/mips/atheros/if_arge.c
index 792ca5d2e41a..b648eea2cd36 100644
--- a/sys/mips/atheros/if_arge.c
+++ b/sys/mips/atheros/if_arge.c
@@ -65,7 +65,6 @@ __FBSDID("$FreeBSD$");
#include <vm/vm_param.h>
#include <vm/vm.h>
#include <vm/pmap.h>
-#include <machine/pmap.h>
#include <sys/bus.h>
#include <sys/rman.h>
diff --git a/sys/mips/atheros/qca955x_pci.c b/sys/mips/atheros/qca955x_pci.c
index 626ca377dfc9..b02517d3d3ae 100644
--- a/sys/mips/atheros/qca955x_pci.c
+++ b/sys/mips/atheros/qca955x_pci.c
@@ -49,7 +49,6 @@ __FBSDID("$FreeBSD$");
#include <machine/bus.h>
#include <machine/cpu.h>
#include <machine/intr_machdep.h>
-#include <machine/pmap.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
diff --git a/sys/mips/cavium/cvmx_config.h b/sys/mips/cavium/cvmx_config.h
index aed3f737ce07..e1976608e54d 100644
--- a/sys/mips/cavium/cvmx_config.h
+++ b/sys/mips/cavium/cvmx_config.h
@@ -50,7 +50,6 @@
#include <vm/vm.h>
#include <vm/pmap.h>
-#include <machine/pmap.h>
#include <machine/stdarg.h>
#define asm __asm
diff --git a/sys/mips/cavium/octopci.c b/sys/mips/cavium/octopci.c
index 17a63420f70d..25bf3b879dd5 100644
--- a/sys/mips/cavium/octopci.c
+++ b/sys/mips/cavium/octopci.c
@@ -46,7 +46,6 @@ __FBSDID("$FreeBSD$");
#include <machine/bus.h>
#include <machine/cpu.h>
-#include <machine/pmap.h>
#include <contrib/octeon-sdk/cvmx.h>
#include <mips/cavium/octeon_irq.h>
diff --git a/sys/mips/idt/idtpci.c b/sys/mips/idt/idtpci.c
index 46c276ae329e..98d199697c71 100644
--- a/sys/mips/idt/idtpci.c
+++ b/sys/mips/idt/idtpci.c
@@ -80,7 +80,6 @@ __FBSDID("$FreeBSD$");
#include <machine/bus.h>
#include <machine/cpu.h>
-#include <machine/pmap.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
diff --git a/sys/mips/malta/gt_pci.c b/sys/mips/malta/gt_pci.c
index 5262e66548d2..946c956504f1 100644
--- a/sys/mips/malta/gt_pci.c
+++ b/sys/mips/malta/gt_pci.c
@@ -59,7 +59,6 @@ __FBSDID("$FreeBSD$");
#include <machine/bus.h>
#include <machine/cpu.h>
-#include <machine/pmap.h>
#include <mips/malta/maltareg.h>
diff --git a/sys/mips/mips/minidump_machdep.c b/sys/mips/mips/minidump_machdep.c
index 2122e00526f8..d9e3b47c555e 100644
--- a/sys/mips/mips/minidump_machdep.c
+++ b/sys/mips/mips/minidump_machdep.c
@@ -39,7 +39,6 @@ __FBSDID("$FreeBSD$");
#include <sys/msgbuf.h>
#include <vm/vm.h>
#include <vm/pmap.h>
-#include <machine/pmap.h>
#include <machine/atomic.h>
#include <machine/elf.h>
#include <machine/md_var.h>
diff --git a/sys/mips/mips/nexus.c b/sys/mips/mips/nexus.c
index ba7db318df88..88a1c20b4c1a 100644
--- a/sys/mips/mips/nexus.c
+++ b/sys/mips/mips/nexus.c
@@ -54,7 +54,6 @@ __FBSDID("$FreeBSD$");
#include <vm/pmap.h>
#include <machine/bus.h>
-#include <machine/pmap.h>
#include <machine/resource.h>
#include <machine/vmparam.h>
diff --git a/sys/mips/nlm/xlp_simplebus.c b/sys/mips/nlm/xlp_simplebus.c
index 790955bb70f6..353cf61e47b1 100644
--- a/sys/mips/nlm/xlp_simplebus.c
+++ b/sys/mips/nlm/xlp_simplebus.c
@@ -41,7 +41,6 @@ __FBSDID("$FreeBSD$");
#include <vm/pmap.h>
#include <machine/bus.h>
-#include <machine/pmap.h>
#include <machine/intr_machdep.h>
#include <mips/nlm/hal/haldefs.h>
diff --git a/sys/mips/rt305x/rt305x_pci.c b/sys/mips/rt305x/rt305x_pci.c
index 68a9d8679aef..605a83f8b241 100644
--- a/sys/mips/rt305x/rt305x_pci.c
+++ b/sys/mips/rt305x/rt305x_pci.c
@@ -54,7 +54,6 @@ __FBSDID("$FreeBSD$");
#include <machine/bus.h>
#include <machine/cpu.h>
#include <machine/intr_machdep.h>
-#include <machine/pmap.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
diff --git a/sys/mips/sibyte/sb_zbpci.c b/sys/mips/sibyte/sb_zbpci.c
index df3c4b8ee64b..e3d7ddeff374 100644
--- a/sys/mips/sibyte/sb_zbpci.c
+++ b/sys/mips/sibyte/sb_zbpci.c
@@ -44,7 +44,6 @@
#include <dev/pci/pcivar.h>
#include <dev/pci/pcib_private.h>
-#include <machine/pmap.h>
#include <machine/resource.h>
#include <machine/bus.h>
diff --git a/sys/powerpc/aim/slb.c b/sys/powerpc/aim/slb.c
index aa6a21438d7e..72a595be6c70 100644
--- a/sys/powerpc/aim/slb.c
+++ b/sys/powerpc/aim/slb.c
@@ -44,7 +44,6 @@
#include <machine/md_var.h>
#include <machine/platform.h>
-#include <machine/pmap.h>
#include <machine/vmparam.h>
uintptr_t moea64_get_unique_vsid(void);
diff --git a/sys/powerpc/ofw/ofw_real.c b/sys/powerpc/ofw/ofw_real.c
index 86c8afdbb3b4..ddb7d74869be 100644
--- a/sys/powerpc/ofw/ofw_real.c
+++ b/sys/powerpc/ofw/ofw_real.c
@@ -71,7 +71,6 @@ __FBSDID("$FreeBSD$");
#include <machine/bus.h>
#include <machine/md_var.h>
#include <machine/ofw_machdep.h>
-#include <machine/pmap.h>
#include <machine/stdarg.h>
#include <dev/ofw/openfirm.h>
diff --git a/sys/powerpc/ofw/rtas.c b/sys/powerpc/ofw/rtas.c
index 5dff8efcdac2..6767c0084814 100644
--- a/sys/powerpc/ofw/rtas.c
+++ b/sys/powerpc/ofw/rtas.c
@@ -41,7 +41,6 @@ __FBSDID("$FreeBSD$");
#include <machine/bus.h>
#include <machine/md_var.h>
#include <machine/pcb.h>
-#include <machine/pmap.h>
#include <machine/rtas.h>
#include <machine/stdarg.h>
diff --git a/sys/powerpc/powermac/macgpio.c b/sys/powerpc/powermac/macgpio.c
index 8268038b0d90..6b67514f1f3b 100644
--- a/sys/powerpc/powermac/macgpio.c
+++ b/sys/powerpc/powermac/macgpio.c
@@ -42,7 +42,6 @@
#include <machine/bus.h>
#include <machine/intr_machdep.h>
-#include <machine/pmap.h>
#include <machine/resource.h>
#include <machine/vmparam.h>
diff --git a/sys/powerpc/powermac/macio.c b/sys/powerpc/powermac/macio.c
index 669e907d0772..285d62744c47 100644
--- a/sys/powerpc/powermac/macio.c
+++ b/sys/powerpc/powermac/macio.c
@@ -44,7 +44,6 @@
#include <machine/bus.h>
#include <machine/intr_machdep.h>
-#include <machine/pmap.h>
#include <machine/resource.h>
#include <machine/vmparam.h>
diff --git a/sys/powerpc/powermac/platform_powermac.c b/sys/powerpc/powermac/platform_powermac.c
index f6e9d9932c52..34aacea9b373 100644
--- a/sys/powerpc/powermac/platform_powermac.c
+++ b/sys/powerpc/powermac/platform_powermac.c
@@ -44,7 +44,6 @@ __FBSDID("$FreeBSD$");
#include <machine/fpu.h> /* For save_fpu() */
#include <machine/hid.h>
#include <machine/platformvar.h>
-#include <machine/pmap.h>
#include <machine/setjmp.h>
#include <machine/smp.h>
#include <machine/spr.h>
diff --git a/sys/powerpc/powerpc/genassym.c b/sys/powerpc/powerpc/genassym.c
index 44c0280de016..1a8cb560d187 100644
--- a/sys/powerpc/powerpc/genassym.c
+++ b/sys/powerpc/powerpc/genassym.c
@@ -52,7 +52,6 @@
#include <vm/vm_map.h>
#include <machine/pcb.h>
-#include <machine/pmap.h>
#include <machine/psl.h>
#include <machine/sigframe.h>
diff --git a/sys/powerpc/powerpc/trap.c b/sys/powerpc/powerpc/trap.c
index d4dac2ee278a..62d91a677973 100644
--- a/sys/powerpc/powerpc/trap.c
+++ b/sys/powerpc/powerpc/trap.c
@@ -68,7 +68,6 @@ __FBSDID("$FreeBSD$");
#include <machine/fpu.h>
#include <machine/frame.h>
#include <machine/pcb.h>
-#include <machine/pmap.h>
#include <machine/psl.h>
#include <machine/trap.h>
#include <machine/spr.h>
diff --git a/sys/powerpc/ps3/if_glc.c b/sys/powerpc/ps3/if_glc.c
index a22429744158..3b13ac0898d4 100644
--- a/sys/powerpc/ps3/if_glc.c
+++ b/sys/powerpc/ps3/if_glc.c
@@ -51,7 +51,6 @@
#include <machine/pio.h>
#include <machine/bus.h>
#include <machine/platform.h>
-#include <machine/pmap.h>
#include <machine/resource.h>
#include <sys/bus.h>
#include <sys/rman.h>
diff --git a/sys/powerpc/ps3/platform_ps3.c b/sys/powerpc/ps3/platform_ps3.c
index 4afa2dcd443e..c36603d43605 100644
--- a/sys/powerpc/ps3/platform_ps3.c
+++ b/sys/powerpc/ps3/platform_ps3.c
@@ -44,7 +44,6 @@ __FBSDID("$FreeBSD$");
#include <machine/hid.h>
#include <machine/platform.h>
#include <machine/platformvar.h>
-#include <machine/pmap.h>
#include <machine/smp.h>
#include <machine/spr.h>
#include <machine/vmparam.h>
diff --git a/sys/powerpc/ps3/ps3_syscons.c b/sys/powerpc/ps3/ps3_syscons.c
index 4edf56eb513f..597a3b62c7c8 100644
--- a/sys/powerpc/ps3/ps3_syscons.c
+++ b/sys/powerpc/ps3/ps3_syscons.c
@@ -40,7 +40,6 @@ __FBSDID("$FreeBSD$");
#include <vm/pmap.h>
#include <machine/platform.h>
-#include <machine/pmap.h>
#include <dev/ofw/openfirm.h>
#include <dev/vt/vt.h>
diff --git a/sys/powerpc/ps3/ps3bus.c b/sys/powerpc/ps3/ps3bus.c
index 15817fdad6e9..bbb40c8fe5d6 100644
--- a/sys/powerpc/ps3/ps3bus.c
+++ b/sys/powerpc/ps3/ps3bus.c
@@ -43,7 +43,6 @@ __FBSDID("$FreeBSD$");
#include <machine/bus.h>
#include <machine/platform.h>
-#include <machine/pmap.h>
#include <machine/resource.h>
#include "ps3bus.h"
diff --git a/sys/powerpc/ps3/ps3cdrom.c b/sys/powerpc/ps3/ps3cdrom.c
index afbe0f7d9a7d..841217a44c73 100644
--- a/sys/powerpc/ps3/ps3cdrom.c
+++ b/sys/powerpc/ps3/ps3cdrom.c
@@ -46,7 +46,6 @@ __FBSDID("$FreeBSD$");
#include <machine/pio.h>
#include <machine/bus.h>
#include <machine/platform.h>
-#include <machine/pmap.h>
#include <machine/resource.h>
#include <sys/bus.h>
#include <sys/rman.h>
diff --git a/sys/powerpc/ps3/ps3disk.c b/sys/powerpc/ps3/ps3disk.c
index d4ac7fa35d9b..d68caea471e5 100644
--- a/sys/powerpc/ps3/ps3disk.c
+++ b/sys/powerpc/ps3/ps3disk.c
@@ -47,7 +47,6 @@ __FBSDID("$FreeBSD$");
#include <machine/pio.h>
#include <machine/bus.h>
#include <machine/platform.h>
-#include <machine/pmap.h>
#include <machine/resource.h>
#include <sys/bus.h>
#include <sys/rman.h>
diff --git a/sys/powerpc/pseries/platform_chrp.c b/sys/powerpc/pseries/platform_chrp.c
index ba43783e7b77..17916edfbb0b 100644
--- a/sys/powerpc/pseries/platform_chrp.c
+++ b/sys/powerpc/pseries/platform_chrp.c
@@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$");
#include <machine/cpu.h>
#include <machine/hid.h>
#include <machine/platformvar.h>
-#include <machine/pmap.h>
#include <machine/rtas.h>
#include <machine/smp.h>
#include <machine/spr.h>
diff --git a/sys/powerpc/psim/iobus.c b/sys/powerpc/psim/iobus.c
index 21f53f1f11d4..741b62aae47f 100644
--- a/sys/powerpc/psim/iobus.c
+++ b/sys/powerpc/psim/iobus.c
@@ -50,7 +50,6 @@
#include <machine/vmparam.h>
#include <vm/vm.h>
#include <vm/pmap.h>
-#include <machine/pmap.h>
#include <machine/resource.h>
diff --git a/sys/sparc64/pci/fire.c b/sys/sparc64/pci/fire.c
index c2d22853e4c5..e06ad50958e9 100644
--- a/sys/sparc64/pci/fire.c
+++ b/sys/sparc64/pci/fire.c
@@ -69,7 +69,6 @@ __FBSDID("$FreeBSD$");
#include <machine/bus_private.h>
#include <machine/iommureg.h>
#include <machine/iommuvar.h>
-#include <machine/pmap.h>
#include <machine/resource.h>
#include <dev/pci/pcireg.h>
diff --git a/sys/sparc64/sparc64/iommu.c b/sys/sparc64/sparc64/iommu.c
index 42aa258e88e1..83e03d2ee522 100644
--- a/sys/sparc64/sparc64/iommu.c
+++ b/sys/sparc64/sparc64/iommu.c
@@ -101,7 +101,6 @@ __FBSDID("$FreeBSD$");
#include <machine/bus.h>
#include <machine/bus_private.h>
#include <machine/iommureg.h>
-#include <machine/pmap.h>
#include <machine/resource.h>
#include <machine/ver.h>
diff --git a/sys/sparc64/sparc64/tlb.c b/sys/sparc64/sparc64/tlb.c
index 70b28239d4f8..8adffc648331 100644
--- a/sys/sparc64/sparc64/tlb.c
+++ b/sys/sparc64/sparc64/tlb.c
@@ -41,7 +41,6 @@ __FBSDID("$FreeBSD$");
#include <vm/vm.h>
#include <vm/pmap.h>
-#include <machine/pmap.h>
#include <machine/smp.h>
#include <machine/tlb.h>
#include <machine/vmparam.h>
diff --git a/sys/x86/acpica/acpi_wakeup.c b/sys/x86/acpica/acpi_wakeup.c
index bc1c55caf955..e05d54298ee0 100644
--- a/sys/x86/acpica/acpi_wakeup.c
+++ b/sys/x86/acpica/acpi_wakeup.c
@@ -56,7 +56,6 @@ __FBSDID("$FreeBSD$");
#include <machine/intr_machdep.h>
#include <x86/mca.h>
#include <machine/pcb.h>
-#include <machine/pmap.h>
#include <machine/specialreg.h>
#include <machine/md_var.h>
diff --git a/sys/x86/x86/nexus.c b/sys/x86/x86/nexus.c
index 9f68e506e2ee..ab006136791d 100644
--- a/sys/x86/x86/nexus.c
+++ b/sys/x86/x86/nexus.c
@@ -63,7 +63,6 @@ __FBSDID("$FreeBSD$");
#include <machine/vmparam.h>
#include <vm/vm.h>
#include <vm/pmap.h>
-#include <machine/pmap.h>
#include <machine/metadata.h>
#include <machine/nexusvar.h>