Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/pmon Cleanup includes



details:   https://anonhg.NetBSD.org/src/rev/eefc4ea2f9bf
branches:  trunk
changeset: 809246:eefc4ea2f9bf
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Jun 26 22:32:23 2015 +0000

description:
Cleanup includes

diffstat:

 sys/arch/mips/pmon/pmon.c   |  3 ++-
 sys/arch/mips/pmon/pmon32.S |  7 ++++---
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (38 lines):

diff -r 482cc052806d -r eefc4ea2f9bf sys/arch/mips/pmon/pmon.c
--- a/sys/arch/mips/pmon/pmon.c Fri Jun 26 22:29:38 2015 +0000
+++ b/sys/arch/mips/pmon/pmon.c Fri Jun 26 22:32:23 2015 +0000
@@ -18,9 +18,10 @@
 
 #include <sys/param.h>
 #include <sys/systm.h>
+#include <sys/cpu.h>
 #include <sys/proc.h>
 
-#include <machine/cpu.h>
+#include <mips/cpuregs.h>
 #include <mips/pmon/pmon.h>
 
 int    pmon_argc;
diff -r 482cc052806d -r eefc4ea2f9bf sys/arch/mips/pmon/pmon32.S
--- a/sys/arch/mips/pmon/pmon32.S       Fri Jun 26 22:29:38 2015 +0000
+++ b/sys/arch/mips/pmon/pmon32.S       Fri Jun 26 22:32:23 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmon32.S,v 1.1 2011/08/27 13:34:29 bouyer Exp $ */
+/*     $NetBSD: pmon32.S,v 1.2 2015/06/26 22:32:23 matt Exp $ */
 /*     OpenBSD: pmon32.S,v 1.4 2010/02/18 18:53:33 miod Exp    */
 
 /*
@@ -28,10 +28,11 @@
  * than four arguments; other functions are not affected.
  */
 
-#include <machine/param.h>
 #include <machine/asm.h>
 
-#ifndef _STANDALONE
+#ifdef _STANDALONE
+#include <machine/param.h>
+#else
 #include "assym.h"
 #endif
 



Home | Main Index | Thread Index | Old Index