From: Srinivas Kandagatla Date: Thu, 1 Aug 2013 12:40:55 +0000 (+0100) Subject: ARM: ux500: remove u8500_secondary_startup from INIT section. X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=880467735a0c05a5a26a4ffdddc2cb310fd10927;p=deliverable%2Flinux.git ARM: ux500: remove u8500_secondary_startup from INIT section. This patch removes u8500_secondary_startup from _INIT section, there are two 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 nr_cpus=1 or with single cpu node in DT. Signed-off-by: Srinivas Kandagatla Signed-off-by: Linus Walleij --- diff --git a/arch/arm/mach-ux500/headsmp.S b/arch/arm/mach-ux500/headsmp.S index 08da5589bcd8..9cdea049485d 100644 --- a/arch/arm/mach-ux500/headsmp.S +++ b/arch/arm/mach-ux500/headsmp.S @@ -11,8 +11,6 @@ #include #include - __INIT - /* * U8500 specific entry point for secondary CPUs. */