From: Srinivas Kandagatla Date: Thu, 1 Aug 2013 12:13:41 +0000 (+0100) Subject: ARM: STi: remove sti_secondary_start from INIT section. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d6f67eb787cd9a5d7af2aaac403ea117578af6c9;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ARM: STi: remove sti_secondary_start from INIT section. This patch removes sti_secondary_start from _INIT section, there are 2 reason for this removal. 1. discarding such a small code does not save much, given the RAM sizes. 2. Having this code discarded, creates corruption issue when we boot smp-kernel with nrcpus=1 or with single cpu node in DT. Signed-off-by: Srinivas Kandagatla Signed-off-by: Olof Johansson --- diff --git a/arch/arm/mach-sti/headsmp.S b/arch/arm/mach-sti/headsmp.S index 78ebc7559f53..4c09bae86edf 100644 --- a/arch/arm/mach-sti/headsmp.S +++ b/arch/arm/mach-sti/headsmp.S @@ -16,8 +16,6 @@ #include #include - __INIT - /* * ST specific entry point for secondary CPUs. This provides * a "holding pen" into which all secondary cores are held until we're