Module Name: src
Committed By: rin
Date: Tue Mar 30 03:04:51 UTC 2021
Modified Files:
src/sys/arch/evbppc/explora: machdep.c
Log Message:
G/C unused. No binary changes (except for __LINE__ for KASSERT).
To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/evbppc/explora/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/explora/machdep.c
diff -u src/sys/arch/evbppc/explora/machdep.c:1.48 src/sys/arch/evbppc/explora/machdep.c:1.49
--- src/sys/arch/evbppc/explora/machdep.c:1.48 Tue Mar 30 02:41:14 2021
+++ src/sys/arch/evbppc/explora/machdep.c Tue Mar 30 03:04:51 2021
@@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: machdep.c,v
#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;