Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sh3/sh3 Include only headers that are actually used.



details:   https://anonhg.NetBSD.org/src/rev/5d3abeefe562
branches:  trunk
changeset: 761423:5d3abeefe562
user:      uwe <uwe%NetBSD.org@localhost>
date:      Thu Jan 27 00:19:27 2011 +0000

description:
Include only headers that are actually used.

diffstat:

 sys/arch/sh3/sh3/core_machdep.c |  19 +++----------------
 1 files changed, 3 insertions(+), 16 deletions(-)

diffs (42 lines):

diff -r d55be3093f45 -r 5d3abeefe562 sys/arch/sh3/sh3/core_machdep.c
--- a/sys/arch/sh3/sh3/core_machdep.c   Wed Jan 26 23:29:16 2011 +0000
+++ b/sys/arch/sh3/sh3/core_machdep.c   Thu Jan 27 00:19:27 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: core_machdep.c,v 1.3 2009/11/21 17:40:28 rmind Exp $   */
+/*     $NetBSD: core_machdep.c,v 1.4 2011/01/27 00:19:27 uwe Exp $     */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc. All rights reserved.
@@ -81,30 +81,17 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: core_machdep.c,v 1.3 2009/11/21 17:40:28 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: core_machdep.c,v 1.4 2011/01/27 00:19:27 uwe Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/proc.h>
-#include <sys/malloc.h>
-#include <sys/vnode.h>
-#include <sys/buf.h>
 #include <sys/core.h>
 #include <sys/exec.h>
 #include <sys/ptrace.h>
-#include <sys/syscall.h>
-#include <sys/ktrace.h>
-
-#include <sys/exec_aout.h>
-
-#include <uvm/uvm_extern.h>
 
-#include <sh3/locore.h>
-#include <sh3/cpu.h>
 #include <sh3/reg.h>
-#include <sh3/mmu.h>
-#include <sh3/cache.h>
-#include <sh3/userret.h>
+
 
 /*
  * Dump the machine specific segment at the start of a core dump.



Home | Main Index | Thread Index | Old Index