Module Name:    src
Committed By:   rin
Date:           Tue Mar 30 04:28:50 UTC 2021

Modified Files:
        src/sys/arch/evbppc/obs405: obs600_machdep.c

Log Message:
- Include tlb.h directly instead of uvm_extern.h.
- Remove unused/duplicated header include.
- Sort and group headers.

No binary changes.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/evbppc/obs405/obs600_machdep.c

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/evbppc/obs405/obs600_machdep.c
diff -u src/sys/arch/evbppc/obs405/obs600_machdep.c:1.14 src/sys/arch/evbppc/obs405/obs600_machdep.c:1.15
--- src/sys/arch/evbppc/obs405/obs600_machdep.c:1.14	Tue Mar 30 01:33:50 2021
+++ src/sys/arch/evbppc/obs405/obs600_machdep.c	Tue Mar 30 04:28:50 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: obs600_machdep.c,v 1.14 2021/03/30 01:33:50 rin Exp $	*/
+/*	$NetBSD: obs600_machdep.c,v 1.15 2021/03/30 04:28:50 rin Exp $	*/
 /*	Original: md_machdep.c,v 1.3 2005/01/24 18:47:37 shige Exp $	*/
 
 /*
@@ -68,46 +68,37 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obs600_machdep.c,v 1.14 2021/03/30 01:33:50 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obs600_machdep.c,v 1.15 2021/03/30 04:28:50 rin Exp $");
 
-#include "opt_compat_netbsd.h"
 #include "opt_ddb.h"
-#include "opt_modular.h"
 
 #include <sys/param.h>
 #include <sys/bus.h>
+#include <sys/device.h>
 #include <sys/errno.h>
 #include <sys/kernel.h>
-#include <sys/ksyms.h>
-#include <sys/mount.h>
+#include <sys/module.h>
 #include <sys/reboot.h>
 #include <sys/systm.h>
-#include <sys/device.h>
-#include <sys/module.h>
-#include <sys/bus.h>
-#include <sys/cpu.h>
-
-#include <uvm/uvm_extern.h>
 
 #include <machine/obs600.h>
 
+#include <powerpc/spr.h>
+#include <powerpc/ibm4xx/spr.h>
+
 #include <powerpc/ibm4xx/amcc405ex.h>
 #include <powerpc/ibm4xx/cpu.h>
 #include <powerpc/ibm4xx/dcr4xx.h>
-#include <powerpc/ibm4xx/dev/comopbvar.h>
+#include <powerpc/ibm4xx/tlb.h>
+
 #include <powerpc/ibm4xx/dev/gpiicreg.h>
 #include <powerpc/ibm4xx/dev/opbvar.h>
 
-#include <powerpc/spr.h>
-#include <powerpc/ibm4xx/spr.h>
-
-#include <dev/ic/comreg.h>
-
-#include "ksyms.h"
-
 #include "com.h"
 #if (NCOM > 0)
 #include <sys/termios.h>
+#include <powerpc/ibm4xx/dev/comopbvar.h>
+#include <dev/ic/comreg.h>
 
 #ifndef CONADDR
 #define CONADDR		AMCC405EX_UART0_BASE

Reply via email to