Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm Remove unnecessary sys/malloc.h include



details:   https://anonhg.NetBSD.org/src/rev/96e6ab20ee41
branches:  trunk
changeset: 370744:96e6ab20ee41
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Sep 27 06:36:41 2022 +0000

description:
Remove unnecessary sys/malloc.h include

diffstat:

 sys/arch/arm/at91/at91emac.c                 |  5 ++---
 sys/arch/arm/ep93xx/epe.c                    |  5 ++---
 sys/arch/arm/footbridge/footbridge.c         |  5 ++---
 sys/arch/arm/footbridge/footbridge_pci.c     |  5 ++---
 sys/arch/arm/footbridge/isa/isadma_machdep.c |  5 ++---
 sys/arch/arm/footbridge/isa/isapnp_machdep.c |  5 ++---
 sys/arch/arm/gemini/gemini_dma.c             |  5 ++---
 sys/arch/arm/gemini/gemini_ipm.c             |  3 +--
 sys/arch/arm/gemini/obio_wdc.c               |  5 ++---
 sys/arch/arm/imx/imx_dma.c                   |  5 ++---
 sys/arch/arm/imx/imx_pcic.c                  |  7 +++----
 sys/arch/arm/iomd/iomd.c                     |  5 ++---
 sys/arch/arm/iomd/qms.c                      |  5 ++---
 sys/arch/arm/iomd/vidcvideo.c                |  5 ++---
 sys/arch/arm/ixp12x0/ixp12x0_pci.c           |  5 ++---
 sys/arch/arm/ixp12x0/ixp12x0_pci_dma.c       |  5 ++---
 sys/arch/arm/mainbus/mainbus.c               |  5 ++---
 sys/arch/arm/nxp/imx6_ccm.c                  |  5 ++---
 sys/arch/arm/nxp/imx6_clk.c                  |  5 ++---
 sys/arch/arm/omap/omap3_sdma.c               |  5 ++---
 sys/arch/arm/omap/omap5912_intr.c            |  5 ++---
 sys/arch/arm/omap/omap_dma.c                 |  5 ++---
 sys/arch/arm/omap/omap_intr.c                |  5 ++---
 sys/arch/arm/omap/omapfb.c                   |  5 ++---
 sys/arch/arm/omap/tifb.c                     |  5 ++---
 sys/arch/arm/s3c2xx0/s3c2410_extint.c        |  5 ++---
 sys/arch/arm/s3c2xx0/s3c2410_intr.c          |  5 ++---
 sys/arch/arm/s3c2xx0/s3c2440_extint.c        |  3 +--
 sys/arch/arm/s3c2xx0/s3c2440_i2s.c           |  1 -
 sys/arch/arm/s3c2xx0/s3c2440_intr.c          |  3 +--
 sys/arch/arm/s3c2xx0/s3c2440_sdi.c           |  5 ++---
 sys/arch/arm/s3c2xx0/s3c2800_intr.c          |  5 ++---
 sys/arch/arm/s3c2xx0/s3c2xx0_intr.c          |  5 ++---
 sys/arch/arm/s3c2xx0/sscom_s3c2410.c         |  5 ++---
 sys/arch/arm/s3c2xx0/sscom_s3c2800.c         |  5 ++---
 sys/arch/arm/sa11x0/sa1111_kbc.c             |  5 ++---
 sys/arch/arm/sa11x0/sa11x1_pcic.c            |  5 ++---
 sys/arch/arm/sa11x0/sa11xx_pcic.c            |  5 ++---
 sys/arch/arm/sociox/if_scx.c                 |  5 ++---
 sys/arch/arm/ti/omap3_dss.c                  |  5 ++---
 sys/arch/arm/xscale/becc_pci.c               |  5 ++---
 sys/arch/arm/xscale/i80312_pci.c             |  5 ++---
 sys/arch/arm/xscale/i80321_pci.c             |  5 ++---
 sys/arch/arm/xscale/ixp425_npe.c             |  5 ++---
 sys/arch/arm/xscale/ixp425_pci.c             |  5 ++---
 sys/arch/arm/xscale/ixp425_pci_dma.c         |  5 ++---
 sys/arch/arm/xscale/pxa2x0_ac97.c            |  3 +--
 sys/arch/arm/xscale/pxa2x0_dma.c             |  5 ++---
 sys/arch/arm/xscale/pxa2x0_intr.c            |  5 ++---
 sys/arch/arm/xscale/pxa2x0_mci.c             |  5 ++---
 sys/arch/arm/xscale/pxa2x0_pcic.c            |  5 ++---
 sys/arch/arm/zynq/zynq_dma.c                 |  5 ++---
 52 files changed, 99 insertions(+), 151 deletions(-)

diffs (truncated from 1228 to 300 lines):

diff -r 5a8825db5d11 -r 96e6ab20ee41 sys/arch/arm/at91/at91emac.c
--- a/sys/arch/arm/at91/at91emac.c      Tue Sep 27 06:32:53 2022 +0000
+++ b/sys/arch/arm/at91/at91emac.c      Tue Sep 27 06:36:41 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: at91emac.c,v 1.34 2022/09/17 19:32:01 thorpej Exp $    */
+/*     $NetBSD: at91emac.c,v 1.35 2022/09/27 06:36:41 skrll Exp $      */
 
 /*
  * Copyright (c) 2007 Embedtronics Oy
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: at91emac.c,v 1.34 2022/09/17 19:32:01 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: at91emac.c,v 1.35 2022/09/27 06:36:41 skrll Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -40,7 +40,6 @@
 #include <sys/ioctl.h>
 #include <sys/kernel.h>
 #include <sys/proc.h>
-#include <sys/malloc.h>
 #include <sys/time.h>
 #include <sys/device.h>
 #include <uvm/uvm_extern.h>
diff -r 5a8825db5d11 -r 96e6ab20ee41 sys/arch/arm/ep93xx/epe.c
--- a/sys/arch/arm/ep93xx/epe.c Tue Sep 27 06:32:53 2022 +0000
+++ b/sys/arch/arm/ep93xx/epe.c Tue Sep 27 06:36:41 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: epe.c,v 1.49 2022/09/17 19:44:13 thorpej Exp $ */
+/*     $NetBSD: epe.c,v 1.50 2022/09/27 06:36:41 skrll Exp $   */
 
 /*
  * Copyright (c) 2004 Jesse Off
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: epe.c,v 1.49 2022/09/17 19:44:13 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: epe.c,v 1.50 2022/09/27 06:36:41 skrll Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -35,7 +35,6 @@
 #include <sys/ioctl.h>
 #include <sys/kernel.h>
 #include <sys/proc.h>
-#include <sys/malloc.h>
 #include <sys/time.h>
 #include <sys/device.h>
 #include <uvm/uvm_extern.h>
diff -r 5a8825db5d11 -r 96e6ab20ee41 sys/arch/arm/footbridge/footbridge.c
--- a/sys/arch/arm/footbridge/footbridge.c      Tue Sep 27 06:32:53 2022 +0000
+++ b/sys/arch/arm/footbridge/footbridge.c      Tue Sep 27 06:36:41 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: footbridge.c,v 1.29 2021/08/13 11:40:43 skrll Exp $    */
+/*     $NetBSD: footbridge.c,v 1.30 2022/09/27 06:36:41 skrll Exp $    */
 
 /*
  * Copyright (c) 1997,1998 Mark Brinicombe.
@@ -35,13 +35,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: footbridge.c,v 1.29 2021/08/13 11:40:43 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: footbridge.c,v 1.30 2022/09/27 06:36:41 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>
 #include <sys/conf.h>
-#include <sys/malloc.h>
 #include <sys/device.h>
 #include <uvm/uvm_extern.h>
 
diff -r 5a8825db5d11 -r 96e6ab20ee41 sys/arch/arm/footbridge/footbridge_pci.c
--- a/sys/arch/arm/footbridge/footbridge_pci.c  Tue Sep 27 06:32:53 2022 +0000
+++ b/sys/arch/arm/footbridge/footbridge_pci.c  Tue Sep 27 06:36:41 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: footbridge_pci.c,v 1.33 2021/08/13 11:40:43 skrll Exp $        */
+/*     $NetBSD: footbridge_pci.c,v 1.34 2022/09/27 06:36:41 skrll Exp $        */
 
 /*
  * Copyright (c) 1997,1998 Mark Brinicombe.
@@ -35,12 +35,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: footbridge_pci.c,v 1.33 2021/08/13 11:40:43 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: footbridge_pci.c,v 1.34 2022/09/27 06:36:41 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/conf.h>
-#include <sys/malloc.h>
 #include <sys/device.h>
 
 #define _ARM32_BUS_DMA_PRIVATE
diff -r 5a8825db5d11 -r 96e6ab20ee41 sys/arch/arm/footbridge/isa/isadma_machdep.c
--- a/sys/arch/arm/footbridge/isa/isadma_machdep.c      Tue Sep 27 06:32:53 2022 +0000
+++ b/sys/arch/arm/footbridge/isa/isadma_machdep.c      Tue Sep 27 06:36:41 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: isadma_machdep.c,v 1.16 2012/09/21 14:21:58 matt Exp $ */
+/*     $NetBSD: isadma_machdep.c,v 1.17 2022/09/27 06:36:41 skrll Exp $        */
 
 #define ISA_DMA_STATS
 
@@ -33,13 +33,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isadma_machdep.c,v 1.16 2012/09/21 14:21:58 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isadma_machdep.c,v 1.17 2022/09/27 06:36:41 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/syslog.h>
 #include <sys/device.h>
-#include <sys/malloc.h>
 #include <sys/proc.h>
 #include <sys/mbuf.h>
 
diff -r 5a8825db5d11 -r 96e6ab20ee41 sys/arch/arm/footbridge/isa/isapnp_machdep.c
--- a/sys/arch/arm/footbridge/isa/isapnp_machdep.c      Tue Sep 27 06:32:53 2022 +0000
+++ b/sys/arch/arm/footbridge/isa/isapnp_machdep.c      Tue Sep 27 06:36:41 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: isapnp_machdep.c,v 1.6 2011/07/01 19:32:28 dyoung Exp $        */
+/*     $NetBSD: isapnp_machdep.c,v 1.7 2022/09/27 06:36:41 skrll Exp $ */
 
 /*-
  * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -73,12 +73,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isapnp_machdep.c,v 1.6 2011/07/01 19:32:28 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isapnp_machdep.c,v 1.7 2022/09/27 06:36:41 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/device.h>
-#include <sys/malloc.h>
 
 #include <sys/bus.h>
 
diff -r 5a8825db5d11 -r 96e6ab20ee41 sys/arch/arm/gemini/gemini_dma.c
--- a/sys/arch/arm/gemini/gemini_dma.c  Tue Sep 27 06:32:53 2022 +0000
+++ b/sys/arch/arm/gemini/gemini_dma.c  Tue Sep 27 06:36:41 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gemini_dma.c,v 1.3 2012/09/18 05:47:27 matt Exp $      */
+/*     $NetBSD: gemini_dma.c,v 1.4 2022/09/27 06:36:41 skrll Exp $     */
 
 /* adapted from:
  *     NetBSD: pxa2x0_dma.c,v 1.4 2005/12/11 12:16:51 christos Exp
@@ -43,12 +43,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gemini_dma.c,v 1.3 2012/09/18 05:47:27 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gemini_dma.c,v 1.4 2022/09/27 06:36:41 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/device.h>
-#include <sys/malloc.h>
 #include <sys/mbuf.h>
 
 #include <uvm/uvm_extern.h>
diff -r 5a8825db5d11 -r 96e6ab20ee41 sys/arch/arm/gemini/gemini_ipm.c
--- a/sys/arch/arm/gemini/gemini_ipm.c  Tue Sep 27 06:32:53 2022 +0000
+++ b/sys/arch/arm/gemini/gemini_ipm.c  Tue Sep 27 06:36:41 2022 +0000
@@ -7,13 +7,12 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: gemini_ipm.c,v 1.5 2021/08/09 19:24:33 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gemini_ipm.c,v 1.6 2022/09/27 06:36:41 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/device.h>
 #include <sys/intr.h>
-#include <sys/malloc.h>
 #include <arm/cpufunc.h>
 #include <arch/arm/gemini/gemini_obiovar.h>
 #include <arch/arm/gemini/gemini_ipivar.h>
diff -r 5a8825db5d11 -r 96e6ab20ee41 sys/arch/arm/gemini/obio_wdc.c
--- a/sys/arch/arm/gemini/obio_wdc.c    Tue Sep 27 06:32:53 2022 +0000
+++ b/sys/arch/arm/gemini/obio_wdc.c    Tue Sep 27 06:36:41 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: obio_wdc.c,v 1.11 2021/09/19 20:52:47 andvar Exp $     */
+/*     $NetBSD: obio_wdc.c,v 1.12 2022/09/27 06:36:41 skrll Exp $      */
 
 /* adapted from iq31244/wdc_obio.c:
  *     NetBSD: wdc_obio.c,v 1.5 2008/04/28 20:23:16 martin Exp
@@ -34,14 +34,13 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obio_wdc.c,v 1.11 2021/09/19 20:52:47 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obio_wdc.c,v 1.12 2022/09/27 06:36:41 skrll Exp $");
 
 #include "locators.h"
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/device.h>
-#include <sys/malloc.h>
 
 #include <sys/bus.h>
 #include <machine/intr.h>
diff -r 5a8825db5d11 -r 96e6ab20ee41 sys/arch/arm/imx/imx_dma.c
--- a/sys/arch/arm/imx/imx_dma.c        Tue Sep 27 06:32:53 2022 +0000
+++ b/sys/arch/arm/imx/imx_dma.c        Tue Sep 27 06:36:41 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: imx_dma.c,v 1.3 2012/09/18 05:47:27 matt Exp $ */
+/*     $NetBSD: imx_dma.c,v 1.4 2022/09/27 06:36:42 skrll Exp $ */
 
 /*
  * Copyright (c) 2009  Genetec Corporation.  All rights reserved.
@@ -32,12 +32,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imx_dma.c,v 1.3 2012/09/18 05:47:27 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imx_dma.c,v 1.4 2022/09/27 06:36:42 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/device.h>
-#include <sys/malloc.h>
 #include <sys/mbuf.h>
 
 #include <uvm/uvm_extern.h>
diff -r 5a8825db5d11 -r 96e6ab20ee41 sys/arch/arm/imx/imx_pcic.c
--- a/sys/arch/arm/imx/imx_pcic.c       Tue Sep 27 06:32:53 2022 +0000
+++ b/sys/arch/arm/imx/imx_pcic.c       Tue Sep 27 06:36:41 2022 +0000
@@ -1,4 +1,4 @@
-/*     $Id: imx_pcic.c,v 1.8 2021/08/07 16:18:44 thorpej Exp $ */
+/*     $Id: imx_pcic.c,v 1.9 2022/09/27 06:36:42 skrll Exp $   */
 
 /*
  * IMX CF interface to pcic/pcmcia
@@ -6,7 +6,7 @@
  * Sun Apr  1 21:42:37 PDT 2007
  */
 
-/*     $NetBSD: imx_pcic.c,v 1.8 2021/08/07 16:18:44 thorpej Exp $     */
+/*     $NetBSD: imx_pcic.c,v 1.9 2022/09/27 06:36:42 skrll Exp $       */
 /*     $OpenBSD: pxa2x0_pcic.c,v 1.17 2005/12/14 15:08:51 uwe Exp $    */
 
 /*
@@ -26,14 +26,13 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$Id: imx_pcic.c,v 1.8 2021/08/07 16:18:44 thorpej Exp $");
+__KERNEL_RCSID(0, "$Id: imx_pcic.c,v 1.9 2022/09/27 06:36:42 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/device.h>
 #include <sys/kernel.h>
 #include <sys/kthread.h>
-#include <sys/malloc.h>
 
 #include <uvm/uvm.h>
 
diff -r 5a8825db5d11 -r 96e6ab20ee41 sys/arch/arm/iomd/iomd.c
--- a/sys/arch/arm/iomd/iomd.c  Tue Sep 27 06:32:53 2022 +0000
+++ b/sys/arch/arm/iomd/iomd.c  Tue Sep 27 06:36:41 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iomd.c,v 1.23 2021/08/07 16:18:44 thorpej Exp $        */
+/*     $NetBSD: iomd.c,v 1.24 2022/09/27 06:36:42 skrll Exp $  */
 
 /*
  * Copyright (c) 1996-1997 Mark Brinicombe.
@@ -43,13 +43,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: iomd.c,v 1.23 2021/08/07 16:18:44 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iomd.c,v 1.24 2022/09/27 06:36:42 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>
 #include <sys/conf.h>
-#include <sys/malloc.h>
 #include <sys/device.h>
 #include <sys/bus.h>
 #include <machine/cpu.h>
diff -r 5a8825db5d11 -r 96e6ab20ee41 sys/arch/arm/iomd/qms.c
--- a/sys/arch/arm/iomd/qms.c   Tue Sep 27 06:32:53 2022 +0000
+++ b/sys/arch/arm/iomd/qms.c   Tue Sep 27 06:36:41 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: qms.c,v 1.21 2021/08/07 16:18:44 thorpej Exp $ */
+/*     $NetBSD: qms.c,v 1.22 2022/09/27 06:36:42 skrll Exp $   */
 



Home | Main Index | Thread Index | Old Index