Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbmips/evbmips Add #include <mips/locore.h>



details:   https://anonhg.NetBSD.org/src/rev/58865e8c05c2
branches:  trunk
changeset: 339095:58865e8c05c2
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Jun 26 21:57:25 2015 +0000

description:
Add #include <mips/locore.h>

diffstat:

 sys/arch/evbmips/evbmips/cpu.c   |  6 ++++--
 sys/arch/evbmips/evbmips/yamon.c |  6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diffs (53 lines):

diff -r b4ca59eb4336 -r 58865e8c05c2 sys/arch/evbmips/evbmips/cpu.c
--- a/sys/arch/evbmips/evbmips/cpu.c    Fri Jun 26 21:56:31 2015 +0000
+++ b/sys/arch/evbmips/evbmips/cpu.c    Fri Jun 26 21:57:25 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.c,v 1.4 2015/05/26 02:09:34 matt Exp $     */
+/*     $NetBSD: cpu.c,v 1.5 2015/06/26 21:57:25 matt Exp $     */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -36,13 +36,15 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.4 2015/05/26 02:09:34 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.5 2015/06/26 21:57:25 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
 #include <sys/systm.h>
 #include <sys/cpu.h>
 
+#include <mips/locore.h>
+
 static int     cpu_match(device_t, cfdata_t, void *);
 static void    cpu_attach(device_t, device_t, void *);
 
diff -r b4ca59eb4336 -r 58865e8c05c2 sys/arch/evbmips/evbmips/yamon.c
--- a/sys/arch/evbmips/evbmips/yamon.c  Fri Jun 26 21:56:31 2015 +0000
+++ b/sys/arch/evbmips/evbmips/yamon.c  Fri Jun 26 21:57:25 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: yamon.c,v 1.13 2011/02/20 07:48:34 matt Exp $  */
+/*     $NetBSD: yamon.c,v 1.14 2015/06/26 21:57:25 matt Exp $  */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -38,7 +38,7 @@
 /* XXX move to arch/mips/yamon/yamon.c or similar? */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: yamon.c,v 1.13 2011/02/20 07:48:34 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: yamon.c,v 1.14 2015/06/26 21:57:25 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -48,6 +48,8 @@
 
 #include <dev/cons.h>
 
+#include <mips/locore.h>
+
 #include <machine/yamon.h>
 
 static int  yamongetc(dev_t);



Home | Main Index | Thread Index | Old Index