Module Name:    src
Committed By:   matt
Date:           Fri Jun 26 22:32:23 UTC 2015

Modified Files:
        src/sys/arch/mips/pmon: pmon.c pmon32.S

Log Message:
Cleanup includes


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/mips/pmon/pmon.c \
    src/sys/arch/mips/pmon/pmon32.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/mips/pmon/pmon.c
diff -u src/sys/arch/mips/pmon/pmon.c:1.1 src/sys/arch/mips/pmon/pmon.c:1.2
--- src/sys/arch/mips/pmon/pmon.c:1.1	Sat Aug 27 13:34:29 2011
+++ src/sys/arch/mips/pmon/pmon.c	Fri Jun 26 22:32:23 2015
@@ -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;
Index: src/sys/arch/mips/pmon/pmon32.S
diff -u src/sys/arch/mips/pmon/pmon32.S:1.1 src/sys/arch/mips/pmon/pmon32.S:1.2
--- src/sys/arch/mips/pmon/pmon32.S:1.1	Sat Aug 27 13:34:29 2011
+++ src/sys/arch/mips/pmon/pmon32.S	Fri Jun 26 22:32:23 2015
@@ -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
 

Reply via email to