svn commit: r281089 - in head/sys/arm: arm include
Andrew Turner
andrew at FreeBSD.org
Sat Apr 4 22:22:07 UTC 2015
Author: andrew
Date: Sat Apr 4 22:22:04 2015
New Revision: 281089
URL: https://svnweb.freebsd.org/changeset/base/281089
Log:
Don't include unneeded files in the arm machine/fdt.h. While here, remove
it from more files.
Modified:
head/sys/arm/arm/intr.c
head/sys/arm/arm/mpcore_timer.c
head/sys/arm/arm/pmu.c
head/sys/arm/include/fdt.h
Modified: head/sys/arm/arm/intr.c
==============================================================================
--- head/sys/arm/arm/intr.c Sat Apr 4 22:11:38 2015 (r281088)
+++ head/sys/arm/arm/intr.c Sat Apr 4 22:22:04 2015 (r281089)
@@ -55,6 +55,7 @@ __FBSDID("$FreeBSD$");
#include <sys/pmckern.h>
#include <machine/atomic.h>
+#include <machine/bus.h>
#include <machine/intr.h>
#include <machine/cpu.h>
Modified: head/sys/arm/arm/mpcore_timer.c
==============================================================================
--- head/sys/arm/arm/mpcore_timer.c Sat Apr 4 22:11:38 2015 (r281088)
+++ head/sys/arm/arm/mpcore_timer.c Sat Apr 4 22:22:04 2015 (r281089)
@@ -65,7 +65,6 @@ __FBSDID("$FreeBSD$");
#include <dev/ofw/ofw_bus_subr.h>
#include <machine/bus.h>
-#include <machine/fdt.h>
#include <arm/arm/mpcore_timervar.h>
Modified: head/sys/arm/arm/pmu.c
==============================================================================
--- head/sys/arm/arm/pmu.c Sat Apr 4 22:11:38 2015 (r281088)
+++ head/sys/arm/arm/pmu.c Sat Apr 4 22:22:04 2015 (r281089)
@@ -55,7 +55,6 @@ __FBSDID("$FreeBSD$");
#include <dev/ofw/ofw_bus_subr.h>
#include <machine/bus.h>
-#include <machine/fdt.h>
#include <machine/cpu.h>
#include <machine/intr.h>
Modified: head/sys/arm/include/fdt.h
==============================================================================
--- head/sys/arm/include/fdt.h Sat Apr 4 22:11:38 2015 (r281088)
+++ head/sys/arm/include/fdt.h Sat Apr 4 22:22:04 2015 (r281089)
@@ -34,12 +34,6 @@
#include <dev/ofw/openfirm.h>
-#include <vm/vm.h>
-#include <vm/pmap.h>
-
-#include <machine/bus.h>
-#include <machine/intr.h>
-
/* Max interrupt number */
#define FDT_INTR_MAX NIRQ
More information about the svn-src-head
mailing list