Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 2014 22:35:18 +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: r262409 - in head/sys/arm: include mv/armadaxp samsung/exynos ti/omap4
Message-ID:  <201402232235.s1NMZIwk068294@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Sun Feb 23 22:35:18 2014
New Revision: 262409
URL: http://svnweb.freebsd.org/changeset/base/262409

Log:
  Move the declaration for mpentry() into a header file instead of pasting
  it into a bunch of different .c files.  Remove declarations for the unused
  mptramp() function from everywhere except AramadaXP (and I think it's
  really not used there either, because the code that references it appears
  to be insanely does-nothing in nature).

Modified:
  head/sys/arm/include/smp.h
  head/sys/arm/mv/armadaxp/armadaxp_mp.c
  head/sys/arm/samsung/exynos/exynos5_mp.c
  head/sys/arm/ti/omap4/omap4_mp.c

Modified: head/sys/arm/include/smp.h
==============================================================================
--- head/sys/arm/include/smp.h	Sun Feb 23 22:29:59 2014	(r262408)
+++ head/sys/arm/include/smp.h	Sun Feb 23 22:35:18 2014	(r262409)
@@ -15,6 +15,7 @@
 #define IPI_TLB		7
 
 void	init_secondary(int cpu);
+void	mpentry(void);
 
 void	ipi_all_but_self(u_int ipi);
 void	ipi_cpu(int cpu, u_int ipi);

Modified: head/sys/arm/mv/armadaxp/armadaxp_mp.c
==============================================================================
--- head/sys/arm/mv/armadaxp/armadaxp_mp.c	Sun Feb 23 22:29:59 2014	(r262408)
+++ head/sys/arm/mv/armadaxp/armadaxp_mp.c	Sun Feb 23 22:35:18 2014	(r262409)
@@ -96,7 +96,6 @@ platform_mp_init_secondary(void)
 {
 }
 
-void mpentry(void);
 void mptramp(void);
 
 

Modified: head/sys/arm/samsung/exynos/exynos5_mp.c
==============================================================================
--- head/sys/arm/samsung/exynos/exynos5_mp.c	Sun Feb 23 22:29:59 2014	(r262408)
+++ head/sys/arm/samsung/exynos/exynos5_mp.c	Sun Feb 23 22:35:18 2014	(r262409)
@@ -39,9 +39,6 @@ __FBSDID("$FreeBSD$");
 
 #define	EXYNOS_SYSRAM			0x02020000
 
-void mpentry(void);
-void mptramp(void);
-
 void
 platform_mp_init_secondary(void)
 {

Modified: head/sys/arm/ti/omap4/omap4_mp.c
==============================================================================
--- head/sys/arm/ti/omap4/omap4_mp.c	Sun Feb 23 22:29:59 2014	(r262408)
+++ head/sys/arm/ti/omap4/omap4_mp.c	Sun Feb 23 22:35:18 2014	(r262409)
@@ -38,9 +38,6 @@ __FBSDID("$FreeBSD$");
 #include <arm/ti/ti_smc.h>
 #include <arm/ti/omap4/omap4_smc.h>
 
-void mpentry(void);
-void mptramp(void);
-
 void
 platform_mp_init_secondary(void)
 {



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