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 G/C unused. Use tlb.h directly instea...



details:   https://anonhg.NetBSD.org/src/rev/1cffa253ffaa
branches:  trunk
changeset: 960834:1cffa253ffaa
user:      rin <rin%NetBSD.org@localhost>
date:      Tue Mar 30 03:57:03 2021 +0000

description:
G/C unused. Use tlb.h directly instead of uvm_extern.h.
No binary changes.

diffstat:

 sys/arch/evbppc/obs405/obs266_machdep.c |  13 +++----------
 1 files changed, 3 insertions(+), 10 deletions(-)

diffs (51 lines):

diff -r 03c91f1d3e4b -r 1cffa253ffaa sys/arch/evbppc/obs405/obs266_machdep.c
--- a/sys/arch/evbppc/obs405/obs266_machdep.c   Tue Mar 30 03:45:34 2021 +0000
+++ b/sys/arch/evbppc/obs405/obs266_machdep.c   Tue Mar 30 03:57:03 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: obs266_machdep.c,v 1.24 2021/03/30 01:47:44 rin Exp $  */
+/*     $NetBSD: obs266_machdep.c,v 1.25 2021/03/30 03:57:03 rin Exp $  */
 /*     Original: md_machdep.c,v 1.3 2005/01/24 18:47:37 shige Exp $    */
 
 /*
@@ -68,23 +68,17 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obs266_machdep.c,v 1.24 2021/03/30 01:47:44 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obs266_machdep.c,v 1.25 2021/03/30 03:57:03 rin Exp $");
 
-#include "opt_compat_netbsd.h"
 #include "opt_ddb.h"
 
 #include <sys/param.h>
 #include <sys/kernel.h>
-#include <sys/ksyms.h>
-#include <sys/mount.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/obs266.h>
 
@@ -93,6 +87,7 @@
 #include <powerpc/ibm4xx/ibm405gp.h>
 #include <powerpc/ibm4xx/pci_machdep.h>
 #include <powerpc/ibm4xx/openbios.h>
+#include <powerpc/ibm4xx/tlb.h>
 #include <powerpc/ibm4xx/dev/comopbvar.h>
 
 #include <powerpc/spr.h>
@@ -102,8 +97,6 @@
 #include <dev/pci/pcivar.h>
 #include <dev/pci/pciconf.h>
 
-#include "ksyms.h"
-
 #include "com.h"
 #if (NCOM > 0)
 #include <sys/termios.h>



Home | Main Index | Thread Index | Old Index