summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@st.com>2013-08-01 16:13:41 +0400
committerOlof Johansson <olof@lixom.net>2013-08-05 00:40:55 +0400
commitd6f67eb787cd9a5d7af2aaac403ea117578af6c9 (patch)
tree541b64ec4e2e482fccbf38e678a05d7c34702d8f
parent95e8ce69a043bc501b45508cc31f1dc9a3f64d3e (diff)
downloadlinux-d6f67eb787cd9a5d7af2aaac403ea117578af6c9.tar.xz
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 <srinivas.kandagatla@st.com> Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r--arch/arm/mach-sti/headsmp.S2
1 files changed, 0 insertions, 2 deletions
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 <linux/linkage.h>
#include <linux/init.h>
- __INIT
-
/*
* ST specific entry point for secondary CPUs. This provides
* a "holding pen" into which all secondary cores are held until we're