summaryrefslogtreecommitdiffstats
path: root/sys/arm/freescale/imx
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/freescale/imx
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/freescale/imx')
-rw-r--r--sys/arm/freescale/imx/imx51_ipuv3.c1
-rw-r--r--sys/arm/freescale/imx/imx_gpt.c1
-rw-r--r--sys/arm/freescale/imx/imx_machdep.c2
3 files changed, 0 insertions, 4 deletions
diff --git a/sys/arm/freescale/imx/imx51_ipuv3.c b/sys/arm/freescale/imx/imx51_ipuv3.c
index 18e7dce..e2b05aa 100644
--- a/sys/arm/freescale/imx/imx51_ipuv3.c
+++ b/sys/arm/freescale/imx/imx51_ipuv3.c
@@ -57,7 +57,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/freescale/imx/imx_gpt.c b/sys/arm/freescale/imx/imx_gpt.c
index de726d0..7841704 100644
--- a/sys/arm/freescale/imx/imx_gpt.c
+++ b/sys/arm/freescale/imx/imx_gpt.c
@@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$");
#include <sys/watchdog.h>
#include <machine/bus.h>
#include <machine/cpu.h>
-#include <machine/frame.h>
#include <machine/intr.h>
#include <machine/fdt.h>
diff --git a/sys/arm/freescale/imx/imx_machdep.c b/sys/arm/freescale/imx/imx_machdep.c
index c79e37d..58437c2 100644
--- a/sys/arm/freescale/imx/imx_machdep.c
+++ b/sys/arm/freescale/imx/imx_machdep.c
@@ -39,9 +39,7 @@ __FBSDID("$FreeBSD$");
#include <machine/armreg.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/freescale/imx/imx_machdep.h>
#include <arm/freescale/imx/imx_wdogreg.h>
OpenPOWER on IntegriCloud