From owner-svn-src-all@FreeBSD.ORG Sun Feb 23 22:35:19 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7626BEAE; Sun, 23 Feb 2014 22:35:19 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 472B21CE5; Sun, 23 Feb 2014 22:35:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1NMZJhi068299; Sun, 23 Feb 2014 22:35:19 GMT (envelope-from ian@svn.freebsd.org) Received: (from ian@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1NMZIwk068294; Sun, 23 Feb 2014 22:35:18 GMT (envelope-from ian@svn.freebsd.org) Message-Id: <201402232235.s1NMZIwk068294@svn.freebsd.org> From: Ian Lepore Date: Sun, 23 Feb 2014 22:35:18 +0000 (UTC) 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 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Feb 2014 22:35:19 -0000 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 #include -void mpentry(void); -void mptramp(void); - void platform_mp_init_secondary(void) {