Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hppa Remove unnecessary include of <sys/malloc.h>.
details: https://anonhg.NetBSD.org/src/rev/1908aa6608d5
branches: trunk
changeset: 371214:1908aa6608d5
user: skrll <skrll%NetBSD.org@localhost>
date: Thu Sep 29 06:39:58 2022 +0000
description:
Remove unnecessary include of <sys/malloc.h>.
diffstat:
sys/arch/hppa/dev/dino.c | 5 ++---
sys/arch/hppa/dev/elroy.c | 3 +--
sys/arch/hppa/dev/mem.c | 5 ++---
sys/arch/hppa/gsc/gscbus.c | 5 ++---
sys/arch/hppa/gsc/oosiop_gsc.c | 5 ++---
sys/arch/hppa/gsc/osiop_gsc.c | 5 ++---
sys/arch/hppa/hppa/core_machdep.c | 5 ++---
sys/arch/hppa/hppa/intr.c | 5 ++---
sys/arch/hppa/hppa/machdep.c | 5 ++---
sys/arch/hppa/hppa/vm_machdep.c | 5 ++---
10 files changed, 19 insertions(+), 29 deletions(-)
diffs (238 lines):
diff -r 63599d2fffaf -r 1908aa6608d5 sys/arch/hppa/dev/dino.c
--- a/sys/arch/hppa/dev/dino.c Wed Sep 28 16:43:00 2022 +0000
+++ b/sys/arch/hppa/dev/dino.c Thu Sep 29 06:39:58 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dino.c,v 1.15 2022/08/16 08:40:33 skrll Exp $ */
+/* $NetBSD: dino.c,v 1.16 2022/09/29 06:39:58 skrll Exp $ */
/* $OpenBSD: dino.c,v 1.5 2004/02/13 20:39:31 mickey Exp $ */
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dino.c,v 1.15 2022/08/16 08:40:33 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dino.c,v 1.16 2022/09/29 06:39:58 skrll Exp $");
/* #include "cardbus.h" */
@@ -37,7 +37,6 @@
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/reboot.h>
-#include <sys/malloc.h>
#include <sys/extent.h>
#include <machine/iomod.h>
diff -r 63599d2fffaf -r 1908aa6608d5 sys/arch/hppa/dev/elroy.c
--- a/sys/arch/hppa/dev/elroy.c Wed Sep 28 16:43:00 2022 +0000
+++ b/sys/arch/hppa/dev/elroy.c Thu Sep 29 06:39:58 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: elroy.c,v 1.5 2022/08/16 08:40:33 skrll Exp $ */
+/* $NetBSD: elroy.c,v 1.6 2022/09/29 06:39:58 skrll Exp $ */
/* $OpenBSD: elroy.c,v 1.5 2009/03/30 21:24:57 kettenis Exp $ */
@@ -25,7 +25,6 @@
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/reboot.h>
-#include <sys/malloc.h>
#include <sys/extent.h>
#include <machine/iomod.h>
diff -r 63599d2fffaf -r 1908aa6608d5 sys/arch/hppa/dev/mem.c
--- a/sys/arch/hppa/dev/mem.c Wed Sep 28 16:43:00 2022 +0000
+++ b/sys/arch/hppa/dev/mem.c Thu Sep 29 06:39:58 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mem.c,v 1.1 2014/02/24 07:23:42 skrll Exp $ */
+/* $NetBSD: mem.c,v 1.2 2022/09/29 06:39:58 skrll Exp $ */
/* $OpenBSD: mem.c,v 1.30 2007/09/22 16:21:32 krw Exp $ */
/*
@@ -73,13 +73,12 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mem.c,v 1.1 2014/02/24 07:23:42 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mem.c,v 1.2 2022/09/29 06:39:58 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/buf.h>
#include <sys/conf.h>
-#include <sys/malloc.h>
#include <sys/proc.h>
#include <sys/uio.h>
#include <sys/types.h>
diff -r 63599d2fffaf -r 1908aa6608d5 sys/arch/hppa/gsc/gscbus.c
--- a/sys/arch/hppa/gsc/gscbus.c Wed Sep 28 16:43:00 2022 +0000
+++ b/sys/arch/hppa/gsc/gscbus.c Thu Sep 29 06:39:58 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gscbus.c,v 1.3 2021/08/07 16:18:55 thorpej Exp $ */
+/* $NetBSD: gscbus.c,v 1.4 2022/09/29 06:39:58 skrll Exp $ */
/* $OpenBSD: gscbus.c,v 1.13 2001/08/01 20:32:04 miod Exp $ */
@@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gscbus.c,v 1.3 2021/08/07 16:18:55 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gscbus.c,v 1.4 2022/09/29 06:39:58 skrll Exp $");
#define GSCDEBUG
@@ -77,7 +77,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
-#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <sys/reboot.h>
diff -r 63599d2fffaf -r 1908aa6608d5 sys/arch/hppa/gsc/oosiop_gsc.c
--- a/sys/arch/hppa/gsc/oosiop_gsc.c Wed Sep 28 16:43:00 2022 +0000
+++ b/sys/arch/hppa/gsc/oosiop_gsc.c Thu Sep 29 06:39:58 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: oosiop_gsc.c,v 1.1 2014/02/24 07:23:43 skrll Exp $ */
+/* $NetBSD: oosiop_gsc.c,v 1.2 2022/09/29 06:39:58 skrll Exp $ */
/*
* Copyright (c) 2001 Matt Fredette. All rights reserved.
@@ -80,13 +80,12 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: oosiop_gsc.c,v 1.1 2014/02/24 07:23:43 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: oosiop_gsc.c,v 1.2 2022/09/29 06:39:58 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/buf.h>
-#include <sys/malloc.h>
#include <dev/scsipi/scsi_all.h>
#include <dev/scsipi/scsipi_all.h>
diff -r 63599d2fffaf -r 1908aa6608d5 sys/arch/hppa/gsc/osiop_gsc.c
--- a/sys/arch/hppa/gsc/osiop_gsc.c Wed Sep 28 16:43:00 2022 +0000
+++ b/sys/arch/hppa/gsc/osiop_gsc.c Thu Sep 29 06:39:58 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: osiop_gsc.c,v 1.1 2014/02/24 07:23:43 skrll Exp $ */
+/* $NetBSD: osiop_gsc.c,v 1.2 2022/09/29 06:39:58 skrll Exp $ */
/*
* Copyright (c) 2001 Matt Fredette. All rights reserved.
@@ -80,13 +80,12 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: osiop_gsc.c,v 1.1 2014/02/24 07:23:43 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: osiop_gsc.c,v 1.2 2022/09/29 06:39:58 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/buf.h>
-#include <sys/malloc.h>
#include <dev/scsipi/scsi_all.h>
#include <dev/scsipi/scsipi_all.h>
diff -r 63599d2fffaf -r 1908aa6608d5 sys/arch/hppa/hppa/core_machdep.c
--- a/sys/arch/hppa/hppa/core_machdep.c Wed Sep 28 16:43:00 2022 +0000
+++ b/sys/arch/hppa/hppa/core_machdep.c Thu Sep 29 06:39:58 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: core_machdep.c,v 1.7 2019/11/20 19:37:52 pgoyette Exp $ */
+/* $NetBSD: core_machdep.c,v 1.8 2022/09/29 06:39:59 skrll Exp $ */
/* $OpenBSD: vm_machdep.c,v 1.25 2001/09/19 20:50:56 mickey Exp $ */
@@ -29,13 +29,12 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: core_machdep.c,v 1.7 2019/11/20 19:37:52 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: core_machdep.c,v 1.8 2022/09/29 06:39:59 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/signalvar.h>
-#include <sys/malloc.h>
#include <sys/buf.h>
#include <sys/vnode.h>
#include <sys/ptrace.h>
diff -r 63599d2fffaf -r 1908aa6608d5 sys/arch/hppa/hppa/intr.c
--- a/sys/arch/hppa/hppa/intr.c Wed Sep 28 16:43:00 2022 +0000
+++ b/sys/arch/hppa/hppa/intr.c Thu Sep 29 06:39:58 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.c,v 1.7 2022/05/19 06:41:45 skrll Exp $ */
+/* $NetBSD: intr.c,v 1.8 2022/09/29 06:39:59 skrll Exp $ */
/* $OpenBSD: intr.c,v 1.27 2009/12/31 12:52:35 jsing Exp $ */
/*
@@ -35,12 +35,11 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.7 2022/05/19 06:41:45 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.8 2022/09/29 06:39:59 skrll Exp $");
#define __MUTEX_PRIVATE
#include <sys/param.h>
-#include <sys/malloc.h>
#include <sys/cpu.h>
#include <uvm/uvm_extern.h>
diff -r 63599d2fffaf -r 1908aa6608d5 sys/arch/hppa/hppa/machdep.c
--- a/sys/arch/hppa/hppa/machdep.c Wed Sep 28 16:43:00 2022 +0000
+++ b/sys/arch/hppa/hppa/machdep.c Thu Sep 29 06:39:58 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.17 2022/05/14 06:07:53 skrll Exp $ */
+/* $NetBSD: machdep.c,v 1.18 2022/09/29 06:39:59 skrll Exp $ */
/*-
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.17 2022/05/14 06:07:53 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.18 2022/09/29 06:39:59 skrll Exp $");
#include "opt_cputype.h"
#include "opt_ddb.h"
@@ -78,7 +78,6 @@
#include <sys/conf.h>
#include <sys/file.h>
#include <sys/callout.h>
-#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <sys/msgbuf.h>
#include <sys/ioctl.h>
diff -r 63599d2fffaf -r 1908aa6608d5 sys/arch/hppa/hppa/vm_machdep.c
--- a/sys/arch/hppa/hppa/vm_machdep.c Wed Sep 28 16:43:00 2022 +0000
+++ b/sys/arch/hppa/hppa/vm_machdep.c Thu Sep 29 06:39:58 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vm_machdep.c,v 1.56 2022/01/01 01:03:50 macallan Exp $ */
+/* $NetBSD: vm_machdep.c,v 1.57 2022/09/29 06:39:59 skrll Exp $ */
/* $OpenBSD: vm_machdep.c,v 1.64 2008/09/30 18:54:26 miod Exp $ */
@@ -29,13 +29,12 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.56 2022/01/01 01:03:50 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.57 2022/09/29 06:39:59 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/signalvar.h>
-#include <sys/malloc.h>
#include <sys/buf.h>
#include <sys/vnode.h>
#include <sys/ptrace.h>
Home |
Main Index |
Thread Index |
Old Index