]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
arm/mach-rockchip: remove legacy __cpuinit section that crept in
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sat, 17 Jan 2015 21:48:41 +0000 (16:48 -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 this one crept back in as of commit a7a2b3118b410fb3cd3a8363b1
("ARM: rockchip: add smp bringup code").

Since we want to clobber the stubs soon, get this removed now.

Cc: Heiko Stuebner <heiko@sntech.de>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/arm/mach-rockchip/platsmp.c

index 5b4ca3c3c8797d2560c4addaad6773b974ebb2d0..fd2f0dc810157dce1d946a420947e2836bd9616e 100644 (file)
@@ -119,8 +119,7 @@ static int pmu_set_power_domain(int pd, bool on)
  * Handling of CPU cores
  */
 
-static int __cpuinit rockchip_boot_secondary(unsigned int cpu,
-                                            struct task_struct *idle)
+static int rockchip_boot_secondary(unsigned int cpu, struct task_struct *idle)
 {
        int ret;