Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hpcmips Explicitly include <mips/locore.h> for wbfl...
details: https://anonhg.NetBSD.org/src/rev/7d866855d416
branches: trunk
changeset: 762722:7d866855d416
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Feb 26 12:07:45 2011 +0000
description:
Explicitly include <mips/locore.h> for wbflush().
diffstat:
sys/arch/hpcmips/hpcmips/bus_dma.c | 5 +++--
sys/arch/hpcmips/hpcmips/bus_space.c | 5 +++--
sys/arch/hpcmips/tx/tx39.c | 5 +++--
sys/arch/hpcmips/vr/vr.c | 9 +++++----
4 files changed, 14 insertions(+), 10 deletions(-)
diffs (115 lines):
diff -r acf020ac2795 -r 7d866855d416 sys/arch/hpcmips/hpcmips/bus_dma.c
--- a/sys/arch/hpcmips/hpcmips/bus_dma.c Sat Feb 26 12:04:25 2011 +0000
+++ b/sys/arch/hpcmips/hpcmips/bus_dma.c Sat Feb 26 12:07:45 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_dma.c,v 1.36 2011/02/20 07:58:13 matt Exp $ */
+/* $NetBSD: bus_dma.c,v 1.37 2011/02/26 12:07:45 tsutsui Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.36 2011/02/20 07:58:13 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.37 2011/02/26 12:07:45 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -40,6 +40,7 @@
#include <uvm/uvm_extern.h>
#include <mips/cache.h>
+#include <mips/locore.h>
#include <machine/bus.h>
#include <machine/bus_dma_hpcmips.h>
diff -r acf020ac2795 -r 7d866855d416 sys/arch/hpcmips/hpcmips/bus_space.c
--- a/sys/arch/hpcmips/hpcmips/bus_space.c Sat Feb 26 12:04:25 2011 +0000
+++ b/sys/arch/hpcmips/hpcmips/bus_space.c Sat Feb 26 12:07:45 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_space.c,v 1.29 2011/02/20 07:58:14 matt Exp $ */
+/* $NetBSD: bus_space.c,v 1.30 2011/02/26 12:07:45 tsutsui Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_space.c,v 1.29 2011/02/20 07:58:14 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_space.c,v 1.30 2011/02/26 12:07:45 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -41,6 +41,7 @@
#include <uvm/uvm_extern.h>
#include <mips/cache.h>
+#include <mips/locore.h>
#include <mips/pte.h>
#include <machine/bus.h>
#include <machine/bus_space_hpcmips.h>
diff -r acf020ac2795 -r 7d866855d416 sys/arch/hpcmips/tx/tx39.c
--- a/sys/arch/hpcmips/tx/tx39.c Sat Feb 26 12:04:25 2011 +0000
+++ b/sys/arch/hpcmips/tx/tx39.c Sat Feb 26 12:07:45 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tx39.c,v 1.42 2011/02/20 07:58:14 matt Exp $ */
+/* $NetBSD: tx39.c,v 1.43 2011/02/26 12:07:45 tsutsui Exp $ */
/*-
* Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tx39.c,v 1.42 2011/02/20 07:58:14 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tx39.c,v 1.43 2011/02/26 12:07:45 tsutsui Exp $");
#include "opt_vr41xx.h"
#include "opt_tx39xx.h"
@@ -44,6 +44,7 @@
#include <uvm/uvm_extern.h>
#include <mips/cache.h>
+#include <mips/locore.h>
#include <machine/bootinfo.h> /* bootinfo */
#include <machine/sysconf.h> /* platform */
diff -r acf020ac2795 -r 7d866855d416 sys/arch/hpcmips/vr/vr.c
--- a/sys/arch/hpcmips/vr/vr.c Sat Feb 26 12:04:25 2011 +0000
+++ b/sys/arch/hpcmips/vr/vr.c Sat Feb 26 12:07:45 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vr.c,v 1.59 2011/02/20 07:58:14 matt Exp $ */
+/* $NetBSD: vr.c,v 1.60 2011/02/26 12:07:46 tsutsui Exp $ */
/*-
* Copyright (c) 1999-2002
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vr.c,v 1.59 2011/02/20 07:58:14 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vr.c,v 1.60 2011/02/26 12:07:46 tsutsui Exp $");
#include "opt_vr41xx.h"
#include "opt_tx39xx.h"
@@ -52,6 +52,9 @@
#include <uvm/uvm_extern.h>
+#include <mips/cache.h>
+#include <mips/locore.h>
+
#include <machine/sysconf.h>
#include <machine/bootinfo.h>
#include <machine/bus_space_hpcmips.h>
@@ -66,8 +69,6 @@
#include <hpcmips/vr/vripreg.h>
#include <hpcmips/vr/rtcreg.h>
-#include <mips/cache.h>
-
#include "vrip_common.h"
#if NVRIP_COMMON > 0
#include <hpcmips/vr/vripvar.h>
Home |
Main Index |
Thread Index |
Old Index