Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcmips/hpcmips Explicitly include <mips/locore.h> ...



details:   https://anonhg.NetBSD.org/src/rev/21baca103212
branches:  trunk
changeset: 762723:21baca103212
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Feb 26 12:08:30 2011 +0000

description:
Explicitly include <mips/locore.h> for mips_locoresw.

diffstat:

 sys/arch/hpcmips/hpcmips/cpu.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 7d866855d416 -r 21baca103212 sys/arch/hpcmips/hpcmips/cpu.c
--- a/sys/arch/hpcmips/hpcmips/cpu.c    Sat Feb 26 12:07:45 2011 +0000
+++ b/sys/arch/hpcmips/hpcmips/cpu.c    Sat Feb 26 12:08:30 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.c,v 1.17 2011/02/20 07:58:14 matt Exp $    */
+/*     $NetBSD: cpu.c,v 1.18 2011/02/26 12:08:30 tsutsui Exp $ */
 /*-
  * Copyright (c) 1999 Shin Takemura, All rights reserved.
  * Copyright (c) 1999-2001 SATO Kazumi, All rights reserved.
@@ -56,7 +56,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.17 2011/02/20 07:58:14 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.18 2011/02/26 12:08:30 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -64,6 +64,8 @@
 #include <sys/cpu.h>
 #include <sys/bus.h>
 
+#include <mips/locore.h>
+
 #include <machine/sysconf.h>
 #include <machine/autoconf.h>
 



Home | Main Index | Thread Index | Old Index