summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2015-01-17 21:23:55 (GMT)
committerPaul Gortmaker <paul.gortmaker@windriver.com>2015-06-16 18:12:21 (GMT)
commit02d6e63307325aeadf5af0ed7371d1acb261b775 (patch)
tree66b60c8ca9bbbb6e9dfdbc14ab725b766cba1af1 /arch
parent0f57d86787d8b1076ea8f9cbdddda2a46d534a27 (diff)
downloadlinux-02d6e63307325aeadf5af0ed7371d1acb261b775.tar.xz
arm/mach-keystone: remove legacy __cpuinit sections that crept in
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 <ssantosh@kernel.org> Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com> Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-keystone/platsmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-keystone/platsmp.c b/arch/arm/mach-keystone/platsmp.c
index 5f46a7c..7f99550 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