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 ...



details:   https://anonhg.NetBSD.org/src/rev/451e28a62d4d
branches:  trunk
changeset: 954152:451e28a62d4d
user:      rin <rin%NetBSD.org@localhost>
date:      Tue Mar 30 04:53:13 2021 +0000

description:
- Include tlb.h directly, instead of uvm_extern.h.
- Explicitly include param.h.
- Drop unused headers.
- Sort and group headers.

No binary changes.

diffstat:

 sys/arch/evbppc/obs405/obs200_autoconf.c |  11 ++++-------
 sys/arch/evbppc/obs405/obs200_machdep.c  |  27 ++++++++++-----------------
 2 files changed, 14 insertions(+), 24 deletions(-)

diffs (94 lines):

diff -r 733618845b9c -r 451e28a62d4d sys/arch/evbppc/obs405/obs200_autoconf.c
--- a/sys/arch/evbppc/obs405/obs200_autoconf.c  Tue Mar 30 04:41:30 2021 +0000
+++ b/sys/arch/evbppc/obs405/obs200_autoconf.c  Tue Mar 30 04:53:13 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: obs200_autoconf.c,v 1.9 2021/03/29 13:38:31 rin Exp $  */
+/*     $NetBSD: obs200_autoconf.c,v 1.10 2021/03/30 04:53:13 rin Exp $ */
 
 /*
  * Copyright 2004 Shigeyuki Fukushima.
@@ -33,20 +33,17 @@
  * DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obs200_autoconf.c,v 1.9 2021/03/29 13:38:31 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obs200_autoconf.c,v 1.10 2021/03/30 04:53:13 rin Exp $");
 
+#include <sys/param.h>
+#include <sys/device.h>
 #include <sys/systm.h>
-#include <sys/device.h>
-#include <sys/cpu.h>
 
 #include <machine/obs200.h>
 
 #include <powerpc/ibm4xx/cpu.h>
 #include <powerpc/ibm4xx/dcr4xx.h>
 
-#include <dev/ic/comreg.h>
-
-
 /*
  * Determine device configuration for a machine.
  */
diff -r 733618845b9c -r 451e28a62d4d sys/arch/evbppc/obs405/obs200_machdep.c
--- a/sys/arch/evbppc/obs405/obs200_machdep.c   Tue Mar 30 04:41:30 2021 +0000
+++ b/sys/arch/evbppc/obs405/obs200_machdep.c   Tue Mar 30 04:53:13 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: obs200_machdep.c,v 1.22 2021/03/30 01:33:50 rin Exp $  */
+/*     $NetBSD: obs200_machdep.c,v 1.23 2021/03/30 04:53:13 rin Exp $  */
 /*     Original: machdep.c,v 1.3 2005/01/17 17:24:09 shige Exp */
 
 /*
@@ -68,23 +68,17 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obs200_machdep.c,v 1.22 2021/03/30 01:33:50 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obs200_machdep.c,v 1.23 2021/03/30 04:53:13 rin Exp $");
 
-#include "opt_compat_netbsd.h"
 #include "opt_ddb.h"
 
 #include <sys/param.h>
+#include <sys/bus.h>
+#include <sys/device.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/obs200.h>
 #include <machine/century_bios.h>
@@ -95,18 +89,17 @@
 #include <powerpc/ibm4xx/cpu.h>
 #include <powerpc/ibm4xx/dcr4xx.h>
 #include <powerpc/ibm4xx/ibm405gp.h>
-#include <powerpc/ibm4xx/pci_machdep.h>
-#include <powerpc/ibm4xx/dev/comopbvar.h>
+#include <powerpc/ibm4xx/tlb.h>
 
-#include <dev/ic/comreg.h>
-#include <dev/pci/pcivar.h>
+#include <powerpc/ibm4xx/pci_machdep.h>
 #include <dev/pci/pciconf.h>
-
-#include "ksyms.h"
+#include <dev/pci/pcivar.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                IBM405GP_UART0_BASE



Home | Main Index | Thread Index | Old Index