Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/powerpc Tidy up includes.



details:   https://anonhg.NetBSD.org/src/rev/0b1c996e5ace
branches:  trunk
changeset: 766267:0b1c996e5ace
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Jun 20 05:39:43 2011 +0000

description:
Tidy up includes.

diffstat:

 sys/arch/powerpc/powerpc/bus_space.c |  12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diffs (43 lines):

diff -r 93e95df0de29 -r 0b1c996e5ace sys/arch/powerpc/powerpc/bus_space.c
--- a/sys/arch/powerpc/powerpc/bus_space.c      Mon Jun 20 05:15:59 2011 +0000
+++ b/sys/arch/powerpc/powerpc/bus_space.c      Mon Jun 20 05:39:43 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_space.c,v 1.26 2011/03/05 15:25:52 matt Exp $      */
+/*     $NetBSD: bus_space.c,v 1.27 2011/06/20 05:39:43 matt Exp $      */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -31,7 +31,9 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_space.c,v 1.26 2011/03/05 15:25:52 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_space.c,v 1.27 2011/06/20 05:39:43 matt Exp $");
+
+#define _POWERPC_BUS_SPACE_PRIVATE
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -40,12 +42,10 @@
 #include <sys/endian.h>
 #include <sys/extent.h>
 #include <sys/malloc.h>
+#include <sys/bus.h>
 
 #include <uvm/uvm.h>
 
-#define _POWERPC_BUS_SPACE_PRIVATE
-#include <machine/bus.h>
-
 #if defined (PPC_OEA) || defined(PPC_OEA64) || defined (PPC_OEA64_BRIDGE)
 #include <powerpc/spr.h>
 #include <powerpc/oea/bat.h>
@@ -53,8 +53,6 @@
 #include <powerpc/oea/pte.h>
 #include <powerpc/oea/spr.h>
 #include <powerpc/oea/sr_601.h>
-
-extern unsigned long oeacpufeat;
 #endif
 
 /* read_N */



Home | Main Index | Thread Index | Old Index