arm/mach-mvebu: remove legacy __cpuinit sections that crept in
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sat, 17 Jan 2015 21:42:47 +0000 (16:42 -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 these ones crept back in as of commit 1ee89e2231a1b04dc3476
("ARM: mvebu: add SMP support for Armada 375 and Armada 38x")

Since we want to clobber the stubs soon, get this removed now.
Note that there would normally be a corresponding removal of
a ".previous" directive for each __CPUINIT in asm files, but in
this case it appears that this single function file was never
paired off with one.

Cc: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/arm/mach-mvebu/headsmp-a9.S
arch/arm/mach-mvebu/platsmp-a9.c

index 08d5ed46b996be2d36ad44285008ab801c90b479..f6a1b5b153afca4f4e2106fe6c973dff9e6d5ddd 100644 (file)
  */
 
 #include <linux/linkage.h>
-#include <linux/init.h>
 
 #include <asm/assembler.h>
 
-       __CPUINIT
-
 ENTRY(mvebu_cortex_a9_secondary_startup)
 ARM_BE8(setend be)
        bl      v7_invalidate_l1
index df0a9cc5da59ad2ce7a95e7d13dc8e2a82937069..3d5000481c112dda6c0ee32a0ce036f3b08c9b53 100644 (file)
@@ -24,7 +24,7 @@
 
 extern void mvebu_cortex_a9_secondary_startup(void);
 
-static int __cpuinit mvebu_cortex_a9_boot_secondary(unsigned int cpu,
+static int mvebu_cortex_a9_boot_secondary(unsigned int cpu,
                                                    struct task_struct *idle)
 {
        int ret, hw_cpu;