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) { _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"