summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-09-02 20:24:42 +0000
committermarcel <marcel@FreeBSD.org>2003-09-02 20:24:42 +0000
commit3a5e34ed9ea402d643342c93f0c33d054db0ab56 (patch)
tree9de25acd210a1a3f32edcac253ef52f11fbc5a94 /sys/sparc64
parent6528e7760a0a9121cd7226e819f649b0e60f925b (diff)
downloadFreeBSD-src-3a5e34ed9ea402d643342c93f0c33d054db0ab56.zip
FreeBSD-src-3a5e34ed9ea402d643342c93f0c33d054db0ab56.tar.gz
Preparatory commit to allow prototypes in ofw_machdep.h to contain
both newbus types and OFW types. This involves either including <machine/bus.h> or <dev/ofw/openfirm.h>. Reviewed by: jake, jmg, tmm
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/sparc64/machdep.c1
-rw-r--r--sys/sparc64/sparc64/mp_machdep.c1
-rw-r--r--sys/sparc64/sparc64/vm_machdep.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/sys/sparc64/sparc64/machdep.c b/sys/sparc64/sparc64/machdep.c
index 505ba38..c0349f9 100644
--- a/sys/sparc64/sparc64/machdep.c
+++ b/sys/sparc64/sparc64/machdep.c
@@ -89,6 +89,7 @@
#include <ddb/ddb.h>
+#include <machine/bus.h>
#include <machine/cache.h>
#include <machine/clock.h>
#include <machine/cpu.h>
diff --git a/sys/sparc64/sparc64/mp_machdep.c b/sys/sparc64/sparc64/mp_machdep.c
index 7385a86..967ac5a 100644
--- a/sys/sparc64/sparc64/mp_machdep.c
+++ b/sys/sparc64/sparc64/mp_machdep.c
@@ -80,6 +80,7 @@
#include <machine/asi.h>
#include <machine/atomic.h>
+#include <machine/bus.h>
#include <machine/md_var.h>
#include <machine/metadata.h>
#include <machine/ofw_machdep.h>
diff --git a/sys/sparc64/sparc64/vm_machdep.c b/sys/sparc64/sparc64/vm_machdep.c
index 2672be0..9d4689b 100644
--- a/sys/sparc64/sparc64/vm_machdep.c
+++ b/sys/sparc64/sparc64/vm_machdep.c
@@ -76,6 +76,7 @@
#include <vm/uma_int.h>
#include <machine/cache.h>
+#include <machine/bus.h>
#include <machine/cpu.h>
#include <machine/fp.h>
#include <machine/fsr.h>
OpenPOWER on IntegriCloud