From: Paul Gortmaker Date: Sat, 17 Jan 2015 21:48:41 +0000 (-0500) Subject: arm/mach-rockchip: remove legacy __cpuinit section that crept in X-Git-Tag: omap-for-v4.2/fixes-rc1^2~47^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=374d4dd3ef1a3ebac33a7df5f8f2e7b5fbd7ec05;p=pandora-kernel.git arm/mach-rockchip: remove legacy __cpuinit section that crept in 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 Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Paul Gortmaker --- diff --git a/arch/arm/mach-rockchip/platsmp.c b/arch/arm/mach-rockchip/platsmp.c index 5b4ca3c3c879..fd2f0dc81015 100644 --- a/arch/arm/mach-rockchip/platsmp.c +++ b/arch/arm/mach-rockchip/platsmp.c @@ -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;