Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Oct 2015 16:54:34 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r289522 - in head/sys/arm: allwinner/a20 altera/socfpga amlogic/aml8726 annapurna/alpine arm freescale/imx include qemu rockchip samsung/exynos ti/omap4 xilinx
Message-ID:  <201510181654.t9IGsYqa034689@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Sun Oct 18 16:54:34 2015
New Revision: 289522
URL: https://svnweb.freebsd.org/changeset/base/289522

Log:
  Rename arm_init_secondary_ic() -> arm_pic_init_secondary().  The latter is
  the name the function will have when the new ARM_INTRNG code is integrated,
  and doing this rename first will make it easier to toggle the new interrupt
  handling code on/off with a config option for debugging.

Modified:
  head/sys/arm/allwinner/a20/a20_mp.c
  head/sys/arm/altera/socfpga/socfpga_mp.c
  head/sys/arm/amlogic/aml8726/aml8726_mp.c
  head/sys/arm/annapurna/alpine/alpine_machdep_mp.c
  head/sys/arm/arm/gic.c
  head/sys/arm/freescale/imx/imx6_mp.c
  head/sys/arm/include/intr.h
  head/sys/arm/qemu/virt_mp.c
  head/sys/arm/rockchip/rk30xx_mp.c
  head/sys/arm/samsung/exynos/exynos5_mp.c
  head/sys/arm/ti/omap4/omap4_mp.c
  head/sys/arm/xilinx/zy7_mp.c

Modified: head/sys/arm/allwinner/a20/a20_mp.c
==============================================================================
--- head/sys/arm/allwinner/a20/a20_mp.c	Sun Oct 18 15:03:47 2015	(r289521)
+++ head/sys/arm/allwinner/a20/a20_mp.c	Sun Oct 18 16:54:34 2015	(r289522)
@@ -61,7 +61,7 @@ void
 platform_mp_init_secondary(void)
 {
 
-	arm_init_secondary_ic();
+	arm_pic_init_secondary();
 }
 
 void

Modified: head/sys/arm/altera/socfpga/socfpga_mp.c
==============================================================================
--- head/sys/arm/altera/socfpga/socfpga_mp.c	Sun Oct 18 15:03:47 2015	(r289521)
+++ head/sys/arm/altera/socfpga/socfpga_mp.c	Sun Oct 18 16:54:34 2015	(r289522)
@@ -87,7 +87,7 @@ void
 platform_mp_init_secondary(void)
 {
 
-	arm_init_secondary_ic();
+	arm_pic_init_secondary();
 }
 
 void

Modified: head/sys/arm/amlogic/aml8726/aml8726_mp.c
==============================================================================
--- head/sys/arm/amlogic/aml8726/aml8726_mp.c	Sun Oct 18 15:03:47 2015	(r289521)
+++ head/sys/arm/amlogic/aml8726/aml8726_mp.c	Sun Oct 18 16:54:34 2015	(r289522)
@@ -351,7 +351,7 @@ platform_mp_init_secondary(void)
 	 * each AP.
 	 */
 
-	 arm_init_secondary_ic();
+	 arm_pic_init_secondary();
 }
 
 

Modified: head/sys/arm/annapurna/alpine/alpine_machdep_mp.c
==============================================================================
--- head/sys/arm/annapurna/alpine/alpine_machdep_mp.c	Sun Oct 18 15:03:47 2015	(r289521)
+++ head/sys/arm/annapurna/alpine/alpine_machdep_mp.c	Sun Oct 18 16:54:34 2015	(r289522)
@@ -122,7 +122,7 @@ void
 platform_mp_init_secondary(void)
 {
 
-	arm_init_secondary_ic();
+	arm_pic_init_secondary();
 }
 
 void

Modified: head/sys/arm/arm/gic.c
==============================================================================
--- head/sys/arm/arm/gic.c	Sun Oct 18 15:03:47 2015	(r289521)
+++ head/sys/arm/arm/gic.c	Sun Oct 18 16:54:34 2015	(r289522)
@@ -492,7 +492,7 @@ arm_get_next_irq(int last_irq)
 }
 
 void
-arm_init_secondary_ic(void)
+arm_pic_init_secondary(void)
 {
 
 	arm_gic_init_secondary(arm_gic_sc->gic_dev);

Modified: head/sys/arm/freescale/imx/imx6_mp.c
==============================================================================
--- head/sys/arm/freescale/imx/imx6_mp.c	Sun Oct 18 15:03:47 2015	(r289521)
+++ head/sys/arm/freescale/imx/imx6_mp.c	Sun Oct 18 16:54:34 2015	(r289522)
@@ -69,7 +69,7 @@ void
 platform_mp_init_secondary(void)
 {
 
-	arm_init_secondary_ic();
+	arm_pic_init_secondary();
 }
 
 void

Modified: head/sys/arm/include/intr.h
==============================================================================
--- head/sys/arm/include/intr.h	Sun Oct 18 15:03:47 2015	(r289521)
+++ head/sys/arm/include/intr.h	Sun Oct 18 16:54:34 2015	(r289522)
@@ -85,7 +85,7 @@ extern int (*arm_config_irq)(int irq, en
 
 void arm_irq_memory_barrier(uintptr_t);
 
-void arm_init_secondary_ic(void);
+void arm_pic_init_secondary(void);
 int  gic_decode_fdt(uint32_t iparentnode, uint32_t *intrcells, int *interrupt,
     int *trig, int *pol);
 

Modified: head/sys/arm/qemu/virt_mp.c
==============================================================================
--- head/sys/arm/qemu/virt_mp.c	Sun Oct 18 15:03:47 2015	(r289521)
+++ head/sys/arm/qemu/virt_mp.c	Sun Oct 18 16:54:34 2015	(r289522)
@@ -108,7 +108,7 @@ void
 platform_mp_init_secondary(void)
 {
 
-	arm_init_secondary_ic();
+	arm_pic_init_secondary();
 }
 
 void

Modified: head/sys/arm/rockchip/rk30xx_mp.c
==============================================================================
--- head/sys/arm/rockchip/rk30xx_mp.c	Sun Oct 18 15:03:47 2015	(r289521)
+++ head/sys/arm/rockchip/rk30xx_mp.c	Sun Oct 18 16:54:34 2015	(r289522)
@@ -82,7 +82,7 @@ void
 platform_mp_init_secondary(void)
 {
 
-	arm_init_secondary_ic();
+	arm_pic_init_secondary();
 }
 
 void

Modified: head/sys/arm/samsung/exynos/exynos5_mp.c
==============================================================================
--- head/sys/arm/samsung/exynos/exynos5_mp.c	Sun Oct 18 15:03:47 2015	(r289521)
+++ head/sys/arm/samsung/exynos/exynos5_mp.c	Sun Oct 18 16:54:34 2015	(r289522)
@@ -73,7 +73,7 @@ void
 platform_mp_init_secondary(void)
 {
 
-	arm_init_secondary_ic();
+	arm_pic_init_secondary();
 }
 
 void

Modified: head/sys/arm/ti/omap4/omap4_mp.c
==============================================================================
--- head/sys/arm/ti/omap4/omap4_mp.c	Sun Oct 18 15:03:47 2015	(r289521)
+++ head/sys/arm/ti/omap4/omap4_mp.c	Sun Oct 18 16:54:34 2015	(r289522)
@@ -44,7 +44,7 @@ __FBSDID("$FreeBSD$");
 void
 platform_mp_init_secondary(void)
 {
-	arm_init_secondary_ic();
+	arm_pic_init_secondary();
 }
 
 void

Modified: head/sys/arm/xilinx/zy7_mp.c
==============================================================================
--- head/sys/arm/xilinx/zy7_mp.c	Sun Oct 18 15:03:47 2015	(r289521)
+++ head/sys/arm/xilinx/zy7_mp.c	Sun Oct 18 16:54:34 2015	(r289522)
@@ -49,7 +49,7 @@ void
 platform_mp_init_secondary(void)
 {
 
-	arm_init_secondary_ic();
+	arm_pic_init_secondary();
 }
 
 void



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510181654.t9IGsYqa034689>