Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/cobalt #include <sys/cpu.h> or <mips/cpuregs.h> as ...



details:   https://anonhg.NetBSD.org/src/rev/2bbc54bce9a3
branches:  trunk
changeset: 338816:2bbc54bce9a3
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Jun 09 22:47:59 2015 +0000

description:
#include <sys/cpu.h> or <mips/cpuregs.h> as needed

diffstat:

 sys/arch/cobalt/dev/com_mainbus.c |   5 +++--
 sys/arch/cobalt/dev/zs.c          |  11 +++++++----
 sys/arch/cobalt/pci/pci_machdep.c |   7 ++++---
 3 files changed, 14 insertions(+), 9 deletions(-)

diffs (85 lines):

diff -r 878c119c1a46 -r 2bbc54bce9a3 sys/arch/cobalt/dev/com_mainbus.c
--- a/sys/arch/cobalt/dev/com_mainbus.c Tue Jun 09 22:47:12 2015 +0000
+++ b/sys/arch/cobalt/dev/com_mainbus.c Tue Jun 09 22:47:59 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: com_mainbus.c,v 1.19 2011/07/09 16:09:01 matt Exp $    */
+/*     $NetBSD: com_mainbus.c,v 1.20 2015/06/09 22:47:59 matt Exp $    */
 
 /*
  * Copyright (c) 2000 Soren S. Jorvang.  All rights reserved.
@@ -26,10 +26,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: com_mainbus.c,v 1.19 2011/07/09 16:09:01 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: com_mainbus.c,v 1.20 2015/06/09 22:47:59 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
+#include <sys/cpu.h>
 #include <sys/device.h>
 #include <sys/intr.h>
 #include <sys/systm.h>
diff -r 878c119c1a46 -r 2bbc54bce9a3 sys/arch/cobalt/dev/zs.c
--- a/sys/arch/cobalt/dev/zs.c  Tue Jun 09 22:47:12 2015 +0000
+++ b/sys/arch/cobalt/dev/zs.c  Tue Jun 09 22:47:59 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: zs.c,v 1.3 2008/04/28 20:23:16 martin Exp $    */
+/*     $NetBSD: zs.c,v 1.4 2015/06/09 22:47:59 matt Exp $      */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -37,20 +37,23 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.3 2008/04/28 20:23:16 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.4 2015/06/09 22:47:59 matt Exp $");
 
 #include "opt_ddb.h"
 
 #include <sys/param.h>
-#include <sys/systm.h>
 #include <sys/conf.h>
+#include <sys/cpu.h>
 #include <sys/device.h>
+#include <sys/intr.h>
 #include <sys/tty.h>
-#include <sys/intr.h>
+#include <sys/systm.h>
 
 #include <dev/cons.h>
 #include <dev/ic/z8530reg.h>
 
+#include <mips/cpuregs.h>
+
 #include <machine/autoconf.h>
 #include <machine/z8530var.h>
 
diff -r 878c119c1a46 -r 2bbc54bce9a3 sys/arch/cobalt/pci/pci_machdep.c
--- a/sys/arch/cobalt/pci/pci_machdep.c Tue Jun 09 22:47:12 2015 +0000
+++ b/sys/arch/cobalt/pci/pci_machdep.c Tue Jun 09 22:47:59 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_machdep.c,v 1.36 2014/07/29 21:21:44 skrll Exp $   */
+/*     $NetBSD: pci_machdep.c,v 1.37 2015/06/09 22:47:59 matt Exp $    */
 
 /*
  * Copyright (c) 2000 Soren S. Jorvang.  All rights reserved.
@@ -26,14 +26,15 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.36 2014/07/29 21:21:44 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.37 2015/06/09 22:47:59 matt Exp $");
 
 #define _MIPS_BUS_DMA_PRIVATE
 
 #include <sys/param.h>
 #include <sys/bus.h>
+#include <sys/cpu.h>
+#include <sys/device.h>
 #include <sys/errno.h>
-#include <sys/device.h>
 #include <sys/extent.h>
 #include <sys/intr.h>
 #include <sys/systm.h>



Home | Main Index | Thread Index | Old Index