summaryrefslogtreecommitdiffstats
path: root/sys/arm/at91
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/at91
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/at91')
-rw-r--r--sys/arm/at91/at91_mci.c1
-rw-r--r--sys/arm/at91/at91_pmc.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/arm/at91/at91_mci.c b/sys/arm/at91/at91_mci.c
index c4cf9b4..0026c3b 100644
--- a/sys/arm/at91/at91_mci.c
+++ b/sys/arm/at91/at91_mci.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 <arm/at91/at91var.h>
diff --git a/sys/arm/at91/at91_pmc.c b/sys/arm/at91/at91_pmc.c
index e001b5c..d811d38 100644
--- a/sys/arm/at91/at91_pmc.c
+++ b/sys/arm/at91/at91_pmc.c
@@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$");
#include <machine/cpu.h>
#include <machine/cpufunc.h>
#include <machine/resource.h>
-#include <machine/frame.h>
#include <machine/intr.h>
#include <arm/at91/at91reg.h>
#include <arm/at91/at91var.h>
OpenPOWER on IntegriCloud