Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Clean-up unnecessary inclusions of opt_coredump.h



details:   https://anonhg.NetBSD.org/src/rev/8c88364894ff
branches:  trunk
changeset: 1004768:8c88364894ff
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Wed Nov 13 16:11:27 2019 +0000

description:
Clean-up unnecessary inclusions of opt_coredump.h

diffstat:

 sys/arch/amd64/amd64/netbsd32_machdep_13.c |   5 ++---
 sys/arch/amd64/amd64/netbsd32_machdep_16.c |   5 ++---
 sys/arch/arm/arm32/netbsd32_machdep.c      |   3 +--
 sys/arch/arm/arm32/netbsd32_machdep_13.c   |   3 +--
 sys/arch/arm/arm32/netbsd32_machdep_16.c   |   3 +--
 sys/arch/mips/mips/netbsd32_machdep_13.c   |  11 ++---------
 sys/arch/mips/mips/netbsd32_machdep_16.c   |   5 ++---
 sys/arch/riscv/riscv/vm_machdep.c          |   5 ++---
 8 files changed, 13 insertions(+), 27 deletions(-)

diffs (173 lines):

diff -r 021ff1dbd0f3 -r 8c88364894ff sys/arch/amd64/amd64/netbsd32_machdep_13.c
--- a/sys/arch/amd64/amd64/netbsd32_machdep_13.c        Wed Nov 13 15:48:36 2019 +0000
+++ b/sys/arch/amd64/amd64/netbsd32_machdep_13.c        Wed Nov 13 16:11:27 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_machdep_13.c,v 1.2 2019/01/27 02:08:37 pgoyette Exp $ */
+/*     $NetBSD: netbsd32_machdep_13.c,v 1.3 2019/11/13 16:11:27 pgoyette Exp $ */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -36,11 +36,10 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep_13.c,v 1.2 2019/01/27 02:08:37 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep_13.c,v 1.3 2019/11/13 16:11:27 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
-#include "opt_coredump.h"
 #include "opt_execfmt.h"
 #include "opt_user_ldt.h"
 #include "opt_mtrr.h"
diff -r 021ff1dbd0f3 -r 8c88364894ff sys/arch/amd64/amd64/netbsd32_machdep_16.c
--- a/sys/arch/amd64/amd64/netbsd32_machdep_16.c        Wed Nov 13 15:48:36 2019 +0000
+++ b/sys/arch/amd64/amd64/netbsd32_machdep_16.c        Wed Nov 13 16:11:27 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_machdep_16.c,v 1.3 2019/03/01 11:06:55 pgoyette Exp $ */
+/*     $NetBSD: netbsd32_machdep_16.c,v 1.4 2019/11/13 16:11:27 pgoyette Exp $ */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -36,11 +36,10 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep_16.c,v 1.3 2019/03/01 11:06:55 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep_16.c,v 1.4 2019/11/13 16:11:27 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
-#include "opt_coredump.h"
 #include "opt_execfmt.h"
 #endif
 
diff -r 021ff1dbd0f3 -r 8c88364894ff sys/arch/arm/arm32/netbsd32_machdep.c
--- a/sys/arch/arm/arm32/netbsd32_machdep.c     Wed Nov 13 15:48:36 2019 +0000
+++ b/sys/arch/arm/arm32/netbsd32_machdep.c     Wed Nov 13 16:11:27 2019 +0000
@@ -29,12 +29,11 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: netbsd32_machdep.c,v 1.8 2019/01/27 02:08:37 pgoyette Exp $");
+__KERNEL_RCSID(1, "$NetBSD: netbsd32_machdep.c,v 1.9 2019/11/13 16:11:27 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
 #include "opt_compat_netbsd32.h"
-#include "opt_coredump.h"
 #endif
 
 #include <sys/param.h>
diff -r 021ff1dbd0f3 -r 8c88364894ff sys/arch/arm/arm32/netbsd32_machdep_13.c
--- a/sys/arch/arm/arm32/netbsd32_machdep_13.c  Wed Nov 13 15:48:36 2019 +0000
+++ b/sys/arch/arm/arm32/netbsd32_machdep_13.c  Wed Nov 13 16:11:27 2019 +0000
@@ -29,12 +29,11 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: netbsd32_machdep_13.c,v 1.2 2019/01/27 02:08:37 pgoyette Exp $");
+__KERNEL_RCSID(1, "$NetBSD: netbsd32_machdep_13.c,v 1.3 2019/11/13 16:11:27 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
 #include "opt_compat_netbsd32.h"
-#include "opt_coredump.h"
 #endif
 
 #include <sys/param.h>
diff -r 021ff1dbd0f3 -r 8c88364894ff sys/arch/arm/arm32/netbsd32_machdep_16.c
--- a/sys/arch/arm/arm32/netbsd32_machdep_16.c  Wed Nov 13 15:48:36 2019 +0000
+++ b/sys/arch/arm/arm32/netbsd32_machdep_16.c  Wed Nov 13 16:11:27 2019 +0000
@@ -29,12 +29,11 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: netbsd32_machdep_16.c,v 1.2 2019/01/27 02:08:37 pgoyette Exp $");
+__KERNEL_RCSID(1, "$NetBSD: netbsd32_machdep_16.c,v 1.3 2019/11/13 16:11:27 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
 #include "opt_compat_netbsd32.h"
-#include "opt_coredump.h"
 #endif
 
 #include <sys/param.h>
diff -r 021ff1dbd0f3 -r 8c88364894ff sys/arch/mips/mips/netbsd32_machdep_13.c
--- a/sys/arch/mips/mips/netbsd32_machdep_13.c  Wed Nov 13 15:48:36 2019 +0000
+++ b/sys/arch/mips/mips/netbsd32_machdep_13.c  Wed Nov 13 16:11:27 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_machdep_13.c,v 1.2 2019/01/27 02:08:38 pgoyette Exp $ */
+/*     $NetBSD: netbsd32_machdep_13.c,v 1.3 2019/11/13 16:11:27 pgoyette Exp $ */
 
 /*-
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -30,10 +30,9 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep_13.c,v 1.2 2019/01/27 02:08:38 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep_13.c,v 1.3 2019/11/13 16:11:27 pgoyette Exp $");
 
 #include "opt_compat_netbsd.h"
-#include "opt_coredump.h"
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -66,12 +65,6 @@
 
 #include <uvm/uvm_extern.h>
 
-#if 0
-cpu_coredump32
-netbsd32_cpu_upcall
-netbsd32_vm_default_addr
-#endif
-
 int
 compat_13_netbsd32_sigreturn(struct lwp *l,
        const struct compat_13_netbsd32_sigreturn_args *uap,
diff -r 021ff1dbd0f3 -r 8c88364894ff sys/arch/mips/mips/netbsd32_machdep_16.c
--- a/sys/arch/mips/mips/netbsd32_machdep_16.c  Wed Nov 13 15:48:36 2019 +0000
+++ b/sys/arch/mips/mips/netbsd32_machdep_16.c  Wed Nov 13 16:11:27 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_machdep_16.c,v 1.3 2019/03/01 11:06:55 pgoyette Exp $ */
+/*     $NetBSD: netbsd32_machdep_16.c,v 1.4 2019/11/13 16:11:27 pgoyette Exp $ */
 
 /*-
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -30,10 +30,9 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep_16.c,v 1.3 2019/03/01 11:06:55 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep_16.c,v 1.4 2019/11/13 16:11:27 pgoyette Exp $");
 
 #include "opt_compat_netbsd.h"
-#include "opt_coredump.h"
 
 #include <sys/param.h>
 #include <sys/systm.h>
diff -r 021ff1dbd0f3 -r 8c88364894ff sys/arch/riscv/riscv/vm_machdep.c
--- a/sys/arch/riscv/riscv/vm_machdep.c Wed Nov 13 15:48:36 2019 +0000
+++ b/sys/arch/riscv/riscv/vm_machdep.c Wed Nov 13 16:11:27 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm_machdep.c,v 1.1 2015/03/28 16:13:56 matt Exp $      */
+/*     $NetBSD: vm_machdep.c,v 1.2 2019/11/13 16:11:27 pgoyette Exp $  */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,12 +30,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.1 2015/03/28 16:13:56 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.2 2019/11/13 16:11:27 pgoyette Exp $");
 
 #define _PMAP_PRIVATE
 
 #include "opt_ddb.h"
-#include "opt_coredump.h"
 
 #include <sys/param.h>
 #include <sys/systm.h>



Home | Main Index | Thread Index | Old Index