Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/alpha Remove unnecessary #include <sys/malloc.h>
details: https://anonhg.NetBSD.org/src/rev/25bcbec8f1db
branches: trunk
changeset: 1022114:25bcbec8f1db
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sun Jul 04 22:42:35 2021 +0000
description:
Remove unnecessary #include <sys/malloc.h>
diffstat:
sys/arch/alpha/alpha/core_machdep.c | 5 ++---
sys/arch/alpha/alpha/interrupt.c | 5 ++---
sys/arch/alpha/alpha/machdep.c | 5 ++---
sys/arch/alpha/alpha/pmap.c | 5 ++---
sys/arch/alpha/alpha/vm_machdep.c | 5 ++---
sys/arch/alpha/common/sgmap_common.c | 5 ++---
sys/arch/alpha/isa/isapnp_machdep.c | 5 ++---
sys/arch/alpha/jensenio/jensenio_bus_intio.c | 5 ++---
sys/arch/alpha/jensenio/jensenio_bus_io.c | 5 ++---
sys/arch/alpha/jensenio/jensenio_bus_mem.c | 5 ++---
sys/arch/alpha/jensenio/jensenio_dma.c | 5 ++---
sys/arch/alpha/jensenio/jensenio_intr.c | 5 ++---
sys/arch/alpha/mcbus/mcbus.c | 5 ++---
sys/arch/alpha/mcbus/mcmem.c | 5 ++---
sys/arch/alpha/pci/apecs.c | 5 ++---
sys/arch/alpha/pci/apecs_bus_io.c | 5 ++---
sys/arch/alpha/pci/apecs_bus_mem.c | 5 ++---
sys/arch/alpha/pci/apecs_dma.c | 5 ++---
sys/arch/alpha/pci/cia.c | 5 ++---
sys/arch/alpha/pci/cia_bwx_bus_io.c | 5 ++---
sys/arch/alpha/pci/cia_bwx_bus_mem.c | 5 ++---
sys/arch/alpha/pci/cia_dma.c | 5 ++---
sys/arch/alpha/pci/cia_swiz_bus_io.c | 5 ++---
sys/arch/alpha/pci/cia_swiz_bus_mem.c | 5 ++---
sys/arch/alpha/pci/dwlpx_bus_io.c | 5 ++---
sys/arch/alpha/pci/dwlpx_bus_mem.c | 5 ++---
sys/arch/alpha/pci/irongate.c | 5 ++---
sys/arch/alpha/pci/irongate_bus_io.c | 5 ++---
sys/arch/alpha/pci/irongate_bus_mem.c | 5 ++---
sys/arch/alpha/pci/irongate_dma.c | 5 ++---
sys/arch/alpha/pci/lca.c | 5 ++---
sys/arch/alpha/pci/lca_bus_io.c | 5 ++---
sys/arch/alpha/pci/lca_bus_mem.c | 5 ++---
sys/arch/alpha/pci/lca_dma.c | 5 ++---
sys/arch/alpha/pci/mcpcia_bus_io.c | 5 ++---
sys/arch/alpha/pci/mcpcia_bus_mem.c | 5 ++---
sys/arch/alpha/pci/mcpcia_dma.c | 5 ++---
sys/arch/alpha/pci/pci_1000.c | 5 ++---
sys/arch/alpha/pci/pci_1000a.c | 5 ++---
sys/arch/alpha/pci/pci_2100_a500.c | 5 ++---
sys/arch/alpha/pci/pci_550.c | 5 ++---
sys/arch/alpha/pci/pci_6600.c | 5 ++---
sys/arch/alpha/pci/pci_eb164.c | 5 ++---
sys/arch/alpha/pci/pci_eb64plus.c | 5 ++---
sys/arch/alpha/pci/pci_eb66.c | 5 ++---
sys/arch/alpha/pci/pci_kn20aa.c | 5 ++---
sys/arch/alpha/pci/pci_kn300.c | 5 ++---
sys/arch/alpha/pci/pci_kn8ae.c | 5 ++---
sys/arch/alpha/pci/pci_sgmap_pte32.c | 5 ++---
sys/arch/alpha/pci/pci_sgmap_pte64.c | 5 ++---
sys/arch/alpha/pci/sio_pic.c | 5 ++---
sys/arch/alpha/pci/tsc.c | 5 ++---
sys/arch/alpha/pci/tsp_bus_io.c | 5 ++---
sys/arch/alpha/pci/tsp_bus_mem.c | 5 ++---
sys/arch/alpha/pci/tsp_dma.c | 5 ++---
sys/arch/alpha/pci/ttwoga.c | 5 ++---
sys/arch/alpha/pci/ttwoga_bus_io.c | 5 ++---
sys/arch/alpha/pci/ttwoga_bus_mem.c | 5 ++---
sys/arch/alpha/tc/tc_bus_mem.c | 5 ++---
sys/arch/alpha/tc/tc_sgmap.c | 5 ++---
sys/arch/alpha/tlsb/kftxx.c | 5 ++---
sys/arch/alpha/tlsb/tlsb.c | 5 ++---
sys/arch/alpha/tlsb/tlsbmem.c | 5 ++---
63 files changed, 126 insertions(+), 189 deletions(-)
diffs (truncated from 1469 to 300 lines):
diff -r 5470f131ea1a -r 25bcbec8f1db sys/arch/alpha/alpha/core_machdep.c
--- a/sys/arch/alpha/alpha/core_machdep.c Sun Jul 04 22:36:43 2021 +0000
+++ b/sys/arch/alpha/alpha/core_machdep.c Sun Jul 04 22:42:35 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: core_machdep.c,v 1.10 2019/11/20 19:37:51 pgoyette Exp $ */
+/* $NetBSD: core_machdep.c,v 1.11 2021/07/04 22:42:35 thorpej Exp $ */
/*
* Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@@ -29,12 +29,11 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: core_machdep.c,v 1.10 2019/11/20 19:37:51 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: core_machdep.c,v 1.11 2021/07/04 22:42:35 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
-#include <sys/malloc.h>
#include <sys/buf.h>
#include <sys/vnode.h>
#include <sys/core.h>
diff -r 5470f131ea1a -r 25bcbec8f1db sys/arch/alpha/alpha/interrupt.c
--- a/sys/arch/alpha/alpha/interrupt.c Sun Jul 04 22:36:43 2021 +0000
+++ b/sys/arch/alpha/alpha/interrupt.c Sun Jul 04 22:42:35 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: interrupt.c,v 1.97 2021/05/05 15:34:54 thorpej Exp $ */
+/* $NetBSD: interrupt.c,v 1.98 2021/07/04 22:42:35 thorpej Exp $ */
/*-
* Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@@ -65,14 +65,13 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: interrupt.c,v 1.97 2021/05/05 15:34:54 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: interrupt.c,v 1.98 2021/07/04 22:42:35 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/vmmeter.h>
#include <sys/sched.h>
-#include <sys/malloc.h>
#include <sys/kernel.h>
#include <sys/time.h>
#include <sys/intr.h>
diff -r 5470f131ea1a -r 25bcbec8f1db sys/arch/alpha/alpha/machdep.c
--- a/sys/arch/alpha/alpha/machdep.c Sun Jul 04 22:36:43 2021 +0000
+++ b/sys/arch/alpha/alpha/machdep.c Sun Jul 04 22:42:35 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.372 2021/05/24 21:00:12 thorpej Exp $ */
+/* $NetBSD: machdep.c,v 1.373 2021/07/04 22:42:35 thorpej Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2019, 2020 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.372 2021/05/24 21:00:12 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.373 2021/07/04 22:42:35 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -79,7 +79,6 @@
#include <sys/sched.h>
#include <sys/reboot.h>
#include <sys/device.h>
-#include <sys/malloc.h>
#include <sys/module.h>
#include <sys/mman.h>
#include <sys/msgbuf.h>
diff -r 5470f131ea1a -r 25bcbec8f1db sys/arch/alpha/alpha/pmap.c
--- a/sys/arch/alpha/alpha/pmap.c Sun Jul 04 22:36:43 2021 +0000
+++ b/sys/arch/alpha/alpha/pmap.c Sun Jul 04 22:42:35 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.293 2021/05/31 17:16:04 thorpej Exp $ */
+/* $NetBSD: pmap.c,v 1.294 2021/07/04 22:42:35 thorpej Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2001, 2007, 2008, 2020
@@ -135,13 +135,12 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.293 2021/05/31 17:16:04 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.294 2021/07/04 22:42:35 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/proc.h>
-#include <sys/malloc.h>
#include <sys/pool.h>
#include <sys/buf.h>
#include <sys/evcnt.h>
diff -r 5470f131ea1a -r 25bcbec8f1db sys/arch/alpha/alpha/vm_machdep.c
--- a/sys/arch/alpha/alpha/vm_machdep.c Sun Jul 04 22:36:43 2021 +0000
+++ b/sys/arch/alpha/alpha/vm_machdep.c Sun Jul 04 22:42:35 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vm_machdep.c,v 1.118 2021/05/29 23:27:22 thorpej Exp $ */
+/* $NetBSD: vm_machdep.c,v 1.119 2021/07/04 22:42:35 thorpej Exp $ */
/*
* Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@@ -29,12 +29,11 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.118 2021/05/29 23:27:22 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.119 2021/07/04 22:42:35 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
-#include <sys/malloc.h>
#include <sys/buf.h>
#include <sys/vnode.h>
#include <sys/core.h>
diff -r 5470f131ea1a -r 25bcbec8f1db sys/arch/alpha/common/sgmap_common.c
--- a/sys/arch/alpha/common/sgmap_common.c Sun Jul 04 22:36:43 2021 +0000
+++ b/sys/arch/alpha/common/sgmap_common.c Sun Jul 04 22:42:35 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sgmap_common.c,v 1.27 2020/06/17 04:12:39 thorpej Exp $ */
+/* $NetBSD: sgmap_common.c,v 1.28 2021/07/04 22:42:35 thorpej Exp $ */
/*-
* Copyright (c) 1997, 1998, 2001 The NetBSD Foundation, Inc.
@@ -32,12 +32,11 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: sgmap_common.c,v 1.27 2020/06/17 04:12:39 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sgmap_common.c,v 1.28 2021/07/04 22:42:35 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
-#include <sys/malloc.h>
#include <sys/proc.h>
#include <uvm/uvm_extern.h>
diff -r 5470f131ea1a -r 25bcbec8f1db sys/arch/alpha/isa/isapnp_machdep.c
--- a/sys/arch/alpha/isa/isapnp_machdep.c Sun Jul 04 22:36:43 2021 +0000
+++ b/sys/arch/alpha/isa/isapnp_machdep.c Sun Jul 04 22:42:35 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: isapnp_machdep.c,v 1.8 2011/07/01 19:22:35 dyoung Exp $ */
+/* $NetBSD: isapnp_machdep.c,v 1.9 2021/07/04 22:42:35 thorpej Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -45,12 +45,11 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isapnp_machdep.c,v 1.8 2011/07/01 19:22:35 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isapnp_machdep.c,v 1.9 2021/07/04 22:42:35 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
-#include <sys/malloc.h>
#include <sys/bus.h>
diff -r 5470f131ea1a -r 25bcbec8f1db sys/arch/alpha/jensenio/jensenio_bus_intio.c
--- a/sys/arch/alpha/jensenio/jensenio_bus_intio.c Sun Jul 04 22:36:43 2021 +0000
+++ b/sys/arch/alpha/jensenio/jensenio_bus_intio.c Sun Jul 04 22:42:35 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: jensenio_bus_intio.c,v 1.5 2012/02/06 02:14:14 matt Exp $ */
+/* $NetBSD: jensenio_bus_intio.c,v 1.6 2021/07/04 22:42:35 thorpej Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -31,11 +31,10 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: jensenio_bus_intio.c,v 1.5 2012/02/06 02:14:14 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: jensenio_bus_intio.c,v 1.6 2021/07/04 22:42:35 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/malloc.h>
#include <sys/device.h>
#include <sys/extent.h>
diff -r 5470f131ea1a -r 25bcbec8f1db sys/arch/alpha/jensenio/jensenio_bus_io.c
--- a/sys/arch/alpha/jensenio/jensenio_bus_io.c Sun Jul 04 22:36:43 2021 +0000
+++ b/sys/arch/alpha/jensenio/jensenio_bus_io.c Sun Jul 04 22:42:35 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: jensenio_bus_io.c,v 1.3 2011/07/01 19:22:35 dyoung Exp $ */
+/* $NetBSD: jensenio_bus_io.c,v 1.4 2021/07/04 22:42:35 thorpej Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -31,11 +31,10 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(1, "$NetBSD: jensenio_bus_io.c,v 1.3 2011/07/01 19:22:35 dyoung Exp $");
+__KERNEL_RCSID(1, "$NetBSD: jensenio_bus_io.c,v 1.4 2021/07/04 22:42:35 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/malloc.h>
#include <sys/syslog.h>
#include <sys/device.h>
diff -r 5470f131ea1a -r 25bcbec8f1db sys/arch/alpha/jensenio/jensenio_bus_mem.c
--- a/sys/arch/alpha/jensenio/jensenio_bus_mem.c Sun Jul 04 22:36:43 2021 +0000
+++ b/sys/arch/alpha/jensenio/jensenio_bus_mem.c Sun Jul 04 22:42:35 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: jensenio_bus_mem.c,v 1.3 2011/07/01 19:22:35 dyoung Exp $ */
+/* $NetBSD: jensenio_bus_mem.c,v 1.4 2021/07/04 22:42:35 thorpej Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -31,11 +31,10 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(1, "$NetBSD: jensenio_bus_mem.c,v 1.3 2011/07/01 19:22:35 dyoung Exp $");
+__KERNEL_RCSID(1, "$NetBSD: jensenio_bus_mem.c,v 1.4 2021/07/04 22:42:35 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/malloc.h>
#include <sys/syslog.h>
#include <sys/device.h>
diff -r 5470f131ea1a -r 25bcbec8f1db sys/arch/alpha/jensenio/jensenio_dma.c
--- a/sys/arch/alpha/jensenio/jensenio_dma.c Sun Jul 04 22:36:43 2021 +0000
+++ b/sys/arch/alpha/jensenio/jensenio_dma.c Sun Jul 04 22:42:35 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: jensenio_dma.c,v 1.8 2021/05/07 16:58:34 thorpej Exp $ */
+/* $NetBSD: jensenio_dma.c,v 1.9 2021/07/04 22:42:35 thorpej Exp $ */
/*-
* Copyright (c) 2000, 2020 The NetBSD Foundation, Inc.
@@ -47,13 +47,12 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: jensenio_dma.c,v 1.8 2021/05/07 16:58:34 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: jensenio_dma.c,v 1.9 2021/07/04 22:42:35 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/device.h>
-#include <sys/malloc.h>
#include <sys/mbuf.h>
#define _ALPHA_BUS_DMA_PRIVATE
diff -r 5470f131ea1a -r 25bcbec8f1db sys/arch/alpha/jensenio/jensenio_intr.c
--- a/sys/arch/alpha/jensenio/jensenio_intr.c Sun Jul 04 22:36:43 2021 +0000
+++ b/sys/arch/alpha/jensenio/jensenio_intr.c Sun Jul 04 22:42:35 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: jensenio_intr.c,v 1.16 2021/07/04 22:36:43 thorpej Exp $ */
+/* $NetBSD: jensenio_intr.c,v 1.17 2021/07/04 22:42:35 thorpej Exp $ */
/*-
* Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -31,14 +31,13 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: jensenio_intr.c,v 1.16 2021/07/04 22:36:43 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: jensenio_intr.c,v 1.17 2021/07/04 22:42:35 thorpej Exp $");
#include <sys/types.h>
#include <sys/param.h>
#include <sys/time.h>
#include <sys/systm.h>
#include <sys/errno.h>
-#include <sys/malloc.h>
#include <sys/device.h>
#include <sys/cpu.h>
#include <sys/syslog.h>
diff -r 5470f131ea1a -r 25bcbec8f1db sys/arch/alpha/mcbus/mcbus.c
--- a/sys/arch/alpha/mcbus/mcbus.c Sun Jul 04 22:36:43 2021 +0000
+++ b/sys/arch/alpha/mcbus/mcbus.c Sun Jul 04 22:42:35 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mcbus.c,v 1.23 2021/04/24 23:36:23 thorpej Exp $ */
+/* $NetBSD: mcbus.c,v 1.24 2021/07/04 22:42:35 thorpej Exp $ */
/*
* Copyright (c) 1998 by Matthew Jacob
@@ -37,12 +37,11 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: mcbus.c,v 1.23 2021/04/24 23:36:23 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mcbus.c,v 1.24 2021/07/04 22:42:35 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
Home |
Main Index |
Thread Index |
Old Index