ARM: ux500: remove u8500_secondary_startup from INIT section.
authorSrinivas Kandagatla <srinivas.kandagatla@st.com>
Thu, 1 Aug 2013 12:40:55 +0000 (13:40 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 19 Aug 2013 20:49:24 +0000 (22:49 +0200)
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 <srinivas.kandagatla@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ux500/headsmp.S

index 08da5589bcd8a60179cc458dba05f735ea6f919f..9cdea049485d8a0f6229bff4b70949841085713d 100644 (file)
@@ -11,8 +11,6 @@
 #include <linux/linkage.h>
 #include <linux/init.h>
 
-       __INIT
-
 /*
  * U8500 specific entry point for secondary CPUs.
  */