From: Magnus Damm Date: Wed, 28 Dec 2011 07:44:06 +0000 (+0900) Subject: ARM: mach-shmobile: Fix headsmp.S code to use CPUINIT X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f0eab3889e4b5b71e1609c9850f652f06a812cf5;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ARM: mach-shmobile: Fix headsmp.S code to use CPUINIT Convert the low level SMP assembly code for SH-Mobile ARM from using the INIT to the CPUINIT section. This unbreaks onlining of CPUs using the CPU hotplug interface: echo 1 > /sys/devices/system/cpu/cpu1/online Without this fix the reset vector code used by CPU hotplug will be freed as init section data and CPU cores cannot be brought online. Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt --- diff --git a/arch/arm/mach-shmobile/headsmp.S b/arch/arm/mach-shmobile/headsmp.S index 26079d933d91..6ac015c89206 100644 --- a/arch/arm/mach-shmobile/headsmp.S +++ b/arch/arm/mach-shmobile/headsmp.S @@ -14,7 +14,7 @@ #include #include - __INIT + __CPUINIT /* * Reset vector for secondary CPUs.