Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbppc/explora G/C unused. No binary changes (excep...



details:   https://anonhg.NetBSD.org/src/rev/b2fbf48afcbb
branches:  trunk
changeset: 982061:b2fbf48afcbb
user:      rin <rin%NetBSD.org@localhost>
date:      Tue Mar 30 03:04:51 2021 +0000

description:
G/C unused. No binary changes (except for __LINE__ for KASSERT).

diffstat:

 sys/arch/evbppc/explora/machdep.c |  25 ++-----------------------
 1 files changed, 2 insertions(+), 23 deletions(-)

diffs (59 lines):

diff -r a4a2a0ffc4c7 -r b2fbf48afcbb sys/arch/evbppc/explora/machdep.c
--- a/sys/arch/evbppc/explora/machdep.c Tue Mar 30 02:41:14 2021 +0000
+++ b/sys/arch/evbppc/explora/machdep.c Tue Mar 30 03:04:51 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.48 2021/03/30 02:41:14 rin Exp $ */
+/*     $NetBSD: machdep.c,v 1.49 2021/03/30 03:04:51 rin Exp $ */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -30,36 +30,20 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.48 2021/03/30 02:41:14 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.49 2021/03/30 03:04:51 rin Exp $");
 
 #include "opt_explora.h"
-#include "opt_modular.h"
-
-#include "ksyms.h"
 
 #include <sys/param.h>
 #include <sys/systm.h>
-#include <sys/buf.h>
-#include <sys/msgbuf.h>
 #include <sys/kernel.h>
-#include <sys/mount.h>
-#include <sys/proc.h>
-#include <sys/reboot.h>
-#include <sys/ksyms.h>
-#include <sys/device.h>
 #include <sys/module.h>
 #include <sys/bus.h>
-#include <sys/cpu.h>
-
-#include <uvm/uvm_extern.h>
 
 #include <prop/proplib.h>
 
 #include <machine/explora.h>
-#include <machine/powerpc.h>
 #include <machine/tlb.h>
-#include <machine/pcb.h>
-#include <machine/trap.h>
 
 #include <powerpc/spr.h>
 #include <powerpc/ibm4xx/spr.h>
@@ -67,11 +51,6 @@
 #include <powerpc/ibm4xx/cpu.h>
 #include <powerpc/ibm4xx/dcr403cgx.h>
 
-#if NKSYMS || defined(DDB) || defined(MODULAR)
-#include <machine/db_machdep.h>
-#include <ddb/db_extern.h>
-#endif
-
 #define TLB_PG_SIZE    (16*1024*1024)
 
 static const unsigned int cpuspeed = 66000000;



Home | Main Index | Thread Index | Old Index