summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2014-03-31 18:58:42 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2014-03-31 18:58:42 +0000
commit80ac47ce41f72462f7977efeff7a15c724da2b36 (patch)
treee3e5d661589a09c012b5f72741ceec75342c4dcb /sys/arch
parent4bc9de77ae84e9bc2f969a9fc881dee1bda72e80 (diff)
Including <uvm/uvm_extern.h> is enough, no need for <uvm/uvm.h> or more.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/macppc/dev/macintr.c8
-rw-r--r--sys/arch/macppc/dev/openpic.c8
-rw-r--r--sys/arch/macppc/macppc/dma.c6
-rw-r--r--sys/arch/macppc/macppc/machdep.c4
-rw-r--r--sys/arch/powerpc/powerpc/pmap.c4
-rw-r--r--sys/arch/socppc/socppc/dma.c6
-rw-r--r--sys/arch/socppc/socppc/machdep.c4
7 files changed, 18 insertions, 22 deletions
diff --git a/sys/arch/macppc/dev/macintr.c b/sys/arch/macppc/dev/macintr.c
index 278ea9ec990..264b18a59ae 100644
--- a/sys/arch/macppc/dev/macintr.c
+++ b/sys/arch/macppc/dev/macintr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: macintr.c,v 1.44 2011/09/16 17:56:52 drahn Exp $ */
+/* $OpenBSD: macintr.c,v 1.45 2014/03/31 18:58:41 mpi Exp $ */
/*-
* Copyright (c) 2008 Dale Rahn <drahn@openbsd.org>
@@ -39,12 +39,10 @@
#include <sys/param.h>
#include <sys/device.h>
-#include <sys/ioctl.h>
-#include <sys/mbuf.h>
-#include <sys/socket.h>
#include <sys/systm.h>
+#include <sys/malloc.h>
-#include <uvm/uvm.h>
+#include <uvm/uvm_extern.h>
#include <ddb/db_var.h>
#include <machine/atomic.h>
diff --git a/sys/arch/macppc/dev/openpic.c b/sys/arch/macppc/dev/openpic.c
index d07df8ac68e..39cbe9a2d9d 100644
--- a/sys/arch/macppc/dev/openpic.c
+++ b/sys/arch/macppc/dev/openpic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: openpic.c,v 1.69 2012/10/08 20:06:37 deraadt Exp $ */
+/* $OpenBSD: openpic.c,v 1.70 2014/03/31 18:58:41 mpi Exp $ */
/*-
* Copyright (c) 2008 Dale Rahn <drahn@openbsd.org>
@@ -39,12 +39,10 @@
#include <sys/param.h>
#include <sys/device.h>
-#include <sys/ioctl.h>
-#include <sys/mbuf.h>
-#include <sys/socket.h>
#include <sys/systm.h>
+#include <sys/malloc.h>
-#include <uvm/uvm.h>
+#include <uvm/uvm_extern.h>
#include <ddb/db_var.h>
#include <machine/atomic.h>
diff --git a/sys/arch/macppc/macppc/dma.c b/sys/arch/macppc/macppc/dma.c
index da2fecdff6b..fd0e241e7f7 100644
--- a/sys/arch/macppc/macppc/dma.c
+++ b/sys/arch/macppc/macppc/dma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dma.c,v 1.37 2012/12/04 10:14:25 mpi Exp $ */
+/* $OpenBSD: dma.c,v 1.38 2014/03/31 18:58:41 mpi Exp $ */
/* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */
/*-
@@ -43,10 +43,10 @@
#include <sys/mbuf.h>
#include <sys/mount.h>
-#include <uvm/uvm.h>
-#include <uvm/uvm_page.h>
+#include <uvm/uvm_extern.h>
#include <machine/bus.h>
+
int _dmamem_alloc_range( bus_dma_tag_t t, bus_size_t size,
bus_size_t alignment, bus_size_t boundary, bus_dma_segment_t *segs,
int nsegs, int *rsegs, int flags, vaddr_t low, vaddr_t high);
diff --git a/sys/arch/macppc/macppc/machdep.c b/sys/arch/macppc/macppc/machdep.c
index 344e2e83593..02145be1364 100644
--- a/sys/arch/macppc/macppc/machdep.c
+++ b/sys/arch/macppc/macppc/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.147 2014/03/26 05:23:42 guenther Exp $ */
+/* $OpenBSD: machdep.c,v 1.148 2014/03/31 18:58:41 mpi Exp $ */
/* $NetBSD: machdep.c,v 1.4 1996/10/16 19:33:11 ws Exp $ */
/*
@@ -53,7 +53,7 @@
#include <sys/kcore.h>
#include <net/if.h>
-#include <uvm/uvm.h>
+#include <uvm/uvm_extern.h>
#include <dev/cons.h>
diff --git a/sys/arch/powerpc/powerpc/pmap.c b/sys/arch/powerpc/powerpc/pmap.c
index 275d631317d..0ca34dc7599 100644
--- a/sys/arch/powerpc/powerpc/pmap.c
+++ b/sys/arch/powerpc/powerpc/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.125 2014/02/09 11:25:58 mpi Exp $ */
+/* $OpenBSD: pmap.c,v 1.126 2014/03/31 18:58:41 mpi Exp $ */
/*
* Copyright (c) 2001, 2002, 2007 Dale Rahn.
@@ -81,7 +81,7 @@
#include <sys/systm.h>
#include <sys/pool.h>
-#include <uvm/uvm.h>
+#include <uvm/uvm_extern.h>
#include <machine/pcb.h>
#include <machine/powerpc.h>
diff --git a/sys/arch/socppc/socppc/dma.c b/sys/arch/socppc/socppc/dma.c
index 4ede1757b6d..dd7f0ac54e3 100644
--- a/sys/arch/socppc/socppc/dma.c
+++ b/sys/arch/socppc/socppc/dma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dma.c,v 1.9 2011/06/23 20:44:39 ariane Exp $ */
+/* $OpenBSD: dma.c,v 1.10 2014/03/31 18:58:41 mpi Exp $ */
/* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */
/*-
@@ -43,10 +43,10 @@
#include <sys/mbuf.h>
#include <sys/mount.h>
-#include <uvm/uvm.h>
-#include <uvm/uvm_page.h>
+#include <uvm/uvm_extern.h>
#include <machine/bus.h>
+
int _dmamem_alloc_range( bus_dma_tag_t t, bus_size_t size,
bus_size_t alignment, bus_size_t boundary, bus_dma_segment_t *segs,
int nsegs, int *rsegs, int flags, vaddr_t low, vaddr_t high);
diff --git a/sys/arch/socppc/socppc/machdep.c b/sys/arch/socppc/socppc/machdep.c
index 0848597ab1f..e8c8dfa0772 100644
--- a/sys/arch/socppc/socppc/machdep.c
+++ b/sys/arch/socppc/socppc/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.43 2014/03/26 05:23:42 guenther Exp $ */
+/* $OpenBSD: machdep.c,v 1.44 2014/03/31 18:58:41 mpi Exp $ */
/* $NetBSD: machdep.c,v 1.4 1996/10/16 19:33:11 ws Exp $ */
/*
@@ -49,7 +49,7 @@
#include <sys/user.h>
#include <net/if.h>
-#include <uvm/uvm.h>
+#include <uvm/uvm_extern.h>
#include <machine/bat.h>
#include <machine/bus.h>