Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbppc/obs405 - Include tlb.h directly instead of u...



details:   https://anonhg.NetBSD.org/src/rev/285327ef08e5
branches:  trunk
changeset: 954150:285327ef08e5
user:      rin <rin%NetBSD.org@localhost>
date:      Tue Mar 30 04:28:50 2021 +0000

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

No binary changes.

diffstat:

 sys/arch/evbppc/obs405/obs600_machdep.c |  31 +++++++++++--------------------
 1 files changed, 11 insertions(+), 20 deletions(-)

diffs (66 lines):

diff -r b24078fe4e60 -r 285327ef08e5 sys/arch/evbppc/obs405/obs600_machdep.c
--- a/sys/arch/evbppc/obs405/obs600_machdep.c   Tue Mar 30 04:11:29 2021 +0000
+++ b/sys/arch/evbppc/obs405/obs600_machdep.c   Tue Mar 30 04:28:50 2021 +0000
@@ -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



Home | Main Index | Thread Index | Old Index