Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Remove unnecessary include of <sys/malloc.h>.



details:   https://anonhg.NetBSD.org/src/rev/41323bba254a
branches:  trunk
changeset: 371217:41323bba254a
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Sep 29 06:47:06 2022 +0000

description:
Remove unnecessary include of <sys/malloc.h>.

diffstat:

 sys/arch/cats/cats/autoconf.c       |  5 ++---
 sys/arch/riscv/riscv/exec_machdep.c |  5 ++---
 sys/arch/riscv/riscv/vm_machdep.c   |  5 ++---
 3 files changed, 6 insertions(+), 9 deletions(-)

diffs (77 lines):

diff -r 84d0703cfeb0 -r 41323bba254a sys/arch/cats/cats/autoconf.c
--- a/sys/arch/cats/cats/autoconf.c     Thu Sep 29 06:46:17 2022 +0000
+++ b/sys/arch/cats/cats/autoconf.c     Thu Sep 29 06:47:06 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.20 2022/09/29 06:46:17 skrll Exp $      */
+/*     $NetBSD: autoconf.c,v 1.21 2022/09/29 06:47:06 skrll Exp $      */
 
 /*
  * Copyright (c) 1994-1998 Mark Brinicombe.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.20 2022/09/29 06:46:17 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.21 2022/09/29 06:47:06 skrll Exp $");
 
 #include "opt_md.h"
 
@@ -52,7 +52,6 @@
 #include <sys/device.h>
 #include <sys/conf.h>
 #include <sys/kernel.h>
-#include <sys/malloc.h>
 #include <machine/bootconfig.h>
 #include <machine/intr.h>
 #include <dev/pci/pcivar.h>
diff -r 84d0703cfeb0 -r 41323bba254a sys/arch/riscv/riscv/exec_machdep.c
--- a/sys/arch/riscv/riscv/exec_machdep.c       Thu Sep 29 06:46:17 2022 +0000
+++ b/sys/arch/riscv/riscv/exec_machdep.c       Thu Sep 29 06:47:06 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: exec_machdep.c,v 1.2 2020/11/04 07:09:46 skrll Exp $   */
+/*     $NetBSD: exec_machdep.c,v 1.3 2022/09/29 06:51:17 skrll Exp $   */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,14 +30,13 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: exec_machdep.c,v 1.2 2020/11/04 07:09:46 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: exec_machdep.c,v 1.3 2022/09/29 06:51:17 skrll Exp $");
 
 #include "opt_execfmt.h"
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/proc.h>
-#include <sys/malloc.h>
 #include <sys/vnode.h>
 #include <sys/exec.h>
 #include <sys/namei.h>
diff -r 84d0703cfeb0 -r 41323bba254a sys/arch/riscv/riscv/vm_machdep.c
--- a/sys/arch/riscv/riscv/vm_machdep.c Thu Sep 29 06:46:17 2022 +0000
+++ b/sys/arch/riscv/riscv/vm_machdep.c Thu Sep 29 06:47:06 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm_machdep.c,v 1.4 2020/11/04 20:04:01 skrll Exp $     */
+/*     $NetBSD: vm_machdep.c,v 1.5 2022/09/29 06:51:17 skrll Exp $     */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.4 2020/11/04 20:04:01 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.5 2022/09/29 06:51:17 skrll Exp $");
 
 #define _PMAP_PRIVATE
 
@@ -39,7 +39,6 @@
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/proc.h>
-#include <sys/malloc.h>
 #include <sys/buf.h>
 #include <sys/cpu.h>
 #include <sys/vnode.h>



Home | Main Index | Thread Index | Old Index