]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
arm/mach-keystone: remove legacy __cpuinit sections that crept in
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sat, 17 Jan 2015 21:23:55 +0000 (16:23 -0500)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 16 Jun 2015 18:12:21 +0000 (14:12 -0400)
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>
arch/arm/mach-keystone/platsmp.c

index 5f46a7cf907b1f0fe162278c283431ce69aa8bed..7f99550cad468e083797153f3b7a76b901c71b2a 100644 (file)
@@ -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