Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965865AbbD0Wt2 (ORCPT ); Mon, 27 Apr 2015 18:49:28 -0400 Received: from mail.windriver.com ([147.11.1.11]:57120 "EHLO mail.windriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965251AbbD0Wsx (ORCPT ); Mon, 27 Apr 2015 18:48:53 -0400 From: Paul Gortmaker To: CC: Paul Gortmaker , Santosh Shilimkar , Subject: [PATCH 02/11] arm/mach-keystone: remove legacy __cpuinit sections that crept in Date: Mon, 27 Apr 2015 18:47:51 -0400 Message-ID: <1430174880-27958-3-git-send-email-paul.gortmaker@windriver.com> X-Mailer: git-send-email 2.2.1 In-Reply-To: <1430174880-27958-1-git-send-email-paul.gortmaker@windriver.com> References: <1430174880-27958-1-git-send-email-paul.gortmaker@windriver.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1486 Lines: 42 We removed __cpuinit support (leaving no-op stubs) quite some time ago. However two crept back in as of commit 5eb3da7246a5b2dfac9f38 ("ARM: keystone: Switch over to coherent memory address space") Since we want to clobber the stubs too, get these removed now. Cc: Santosh Shilimkar Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Paul Gortmaker --- arch/arm/mach-keystone/platsmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-keystone/platsmp.c b/arch/arm/mach-keystone/platsmp.c index 5f46a7cf907b..7f99550cad46 100644 --- a/arch/arm/mach-keystone/platsmp.c +++ b/arch/arm/mach-keystone/platsmp.c @@ -40,14 +40,14 @@ static int keystone_smp_boot_secondary(unsigned int cpu, } #ifdef CONFIG_ARM_LPAE -static void __cpuinit keystone_smp_secondary_initmem(unsigned int cpu) +static void keystone_smp_secondary_initmem(unsigned int cpu) { pgd_t *pgd0 = pgd_offset_k(0); cpu_set_ttbr(1, __pa(pgd0) + TTBR1_OFFSET); local_flush_tlb_all(); } #else -static inline void __cpuinit keystone_smp_secondary_initmem(unsigned int cpu) +static inline void keystone_smp_secondary_initmem(unsigned int cpu) {} #endif -- 2.2.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/