Skip to content

Commit

Permalink
ARM: STi: remove sti_secondary_start from INIT section.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Srinivas Kandagatla authored and Olof Johansson committed Aug 4, 2013
1 parent 95e8ce6 commit d6f67eb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/arm/mach-sti/headsmp.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d6f67eb

Please sign in to comment.