summaryrefslogtreecommitdiffstats
path: root/sys/arm/lpc
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2013-12-13 20:43:11 +0000
committerian <ian@FreeBSD.org>2013-12-13 20:43:11 +0000
commitc44e255e080c7cb566f615f34fd5834c1e626fff (patch)
tree15c6d88c6b74d5b85ad41d55216b3e1c19868c84 /sys/arm/lpc
parenta82d470c95dfbb07e973745cfbe6dc42ed1ab8b1 (diff)
downloadFreeBSD-src-c44e255e080c7cb566f615f34fd5834c1e626fff.zip
FreeBSD-src-c44e255e080c7cb566f615f34fd5834c1e626fff.tar.gz
MFC r257199, r257200, r257217:
Remove all #include <machine/pmap.h> from arm code. It's already included by vm/pmap.h, which is a prerequisite for arm/machine/pmap.h so there's no reason to ever include it directly. Remove #include <machine/frame.h> from all the arm code that doesn't really need it. That would be almost everywhere it was included. Add it in a couple files that really do need it and were previously getting it by accident via another header. Remove the last dregs of trapframe_t. It turns out only arm was using this type, so remove it to make arm code more consistant with other platforms.
Diffstat (limited to 'sys/arm/lpc')
-rw-r--r--sys/arm/lpc/lpc_fb.c1
-rw-r--r--sys/arm/lpc/lpc_gpio.c1
-rw-r--r--sys/arm/lpc/lpc_machdep.c2
-rw-r--r--sys/arm/lpc/lpc_mmc.c1
-rw-r--r--sys/arm/lpc/lpc_spi.c1
-rw-r--r--sys/arm/lpc/lpc_timer.c1
6 files changed, 0 insertions, 7 deletions
diff --git a/sys/arm/lpc/lpc_fb.c b/sys/arm/lpc/lpc_fb.c
index 5143645..0cc92b5 100644
--- a/sys/arm/lpc/lpc_fb.c
+++ b/sys/arm/lpc/lpc_fb.c
@@ -52,7 +52,6 @@ __FBSDID("$FreeBSD$");
#include <machine/cpu.h>
#include <machine/cpufunc.h>
#include <machine/resource.h>
-#include <machine/frame.h>
#include <machine/intr.h>
#include <dev/fdt/fdt_common.h>
diff --git a/sys/arm/lpc/lpc_gpio.c b/sys/arm/lpc/lpc_gpio.c
index a7ef028..0b97b07 100644
--- a/sys/arm/lpc/lpc_gpio.c
+++ b/sys/arm/lpc/lpc_gpio.c
@@ -76,7 +76,6 @@ __FBSDID("$FreeBSD$");
#include <machine/cpu.h>
#include <machine/cpufunc.h>
#include <machine/resource.h>
-#include <machine/frame.h>
#include <machine/intr.h>
#include <machine/fdt.h>
diff --git a/sys/arm/lpc/lpc_machdep.c b/sys/arm/lpc/lpc_machdep.c
index 5fdc9d7..4604755 100644
--- a/sys/arm/lpc/lpc_machdep.c
+++ b/sys/arm/lpc/lpc_machdep.c
@@ -50,9 +50,7 @@ __FBSDID("$FreeBSD$");
#include <vm/pmap.h>
#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 <arm/lpc/lpcreg.h>
#include <arm/lpc/lpcvar.h>
diff --git a/sys/arm/lpc/lpc_mmc.c b/sys/arm/lpc/lpc_mmc.c
index 5a789f6..2e7473c 100644
--- a/sys/arm/lpc/lpc_mmc.c
+++ b/sys/arm/lpc/lpc_mmc.c
@@ -52,7 +52,6 @@ __FBSDID("$FreeBSD$");
#include <machine/cpu.h>
#include <machine/cpufunc.h>
#include <machine/resource.h>
-#include <machine/frame.h>
#include <machine/intr.h>
#include <dev/ofw/ofw_bus.h>
diff --git a/sys/arm/lpc/lpc_spi.c b/sys/arm/lpc/lpc_spi.c
index db4c09ab..96a0e26 100644
--- a/sys/arm/lpc/lpc_spi.c
+++ b/sys/arm/lpc/lpc_spi.c
@@ -50,7 +50,6 @@ __FBSDID("$FreeBSD$");
#include <machine/cpu.h>
#include <machine/cpufunc.h>
#include <machine/resource.h>
-#include <machine/frame.h>
#include <machine/intr.h>
#include <dev/spibus/spi.h>
diff --git a/sys/arm/lpc/lpc_timer.c b/sys/arm/lpc/lpc_timer.c
index 8572e1a..0ceee9e 100644
--- a/sys/arm/lpc/lpc_timer.c
+++ b/sys/arm/lpc/lpc_timer.c
@@ -38,7 +38,6 @@ __FBSDID("$FreeBSD$");
#include <sys/timeet.h>
#include <machine/bus.h>
#include <machine/cpu.h>
-#include <machine/frame.h>
#include <machine/intr.h>
#include <dev/fdt/fdt_common.h>
OpenPOWER on IntegriCloud