summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/headsmp.S
diff options
context:
space:
mode:
authorPeter De Schrijver <pdeschrijver@nvidia.com>2012-07-19 15:37:17 +0300
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 12:14:49 -0700
commit93224eabc9b84ddf78bda27870c84fb881113a4e (patch)
tree295fca4046c4f384f47b0acf341d45cee32b8589 /arch/arm/mach-tegra/headsmp.S
parenta59a2cafe15f0277b407d0a77d7e79b3d3877a7b (diff)
ARM: tegra: fix section mismatch for tegra_resume
tegra_resume is referenced by tegra_pm_set which is not part of the __cpuinit section. Hence tegra_resume can't be in that section either. Change-Id: I05888a58706a867767aaf247c5abd705415dee3d Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com> Reviewed-on: http://git-master/r/117051 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com> Rebase-Id: R23fe2dd349cb8c0d49c23a0c144c4284a80c92f6
Diffstat (limited to 'arch/arm/mach-tegra/headsmp.S')
-rw-r--r--arch/arm/mach-tegra/headsmp.S5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mach-tegra/headsmp.S b/arch/arm/mach-tegra/headsmp.S
index e39b94badf63..388588616fcf 100644
--- a/arch/arm/mach-tegra/headsmp.S
+++ b/arch/arm/mach-tegra/headsmp.S
@@ -37,9 +37,6 @@
#define RESET_DATA(x) ((TEGRA_RESET_##x)*4)
- .section ".text.head", "ax"
- __CPUINIT
-
#ifdef CONFIG_SMP
/*
* tegra_secondary_startup
@@ -53,9 +50,9 @@ ENTRY(tegra_secondary_startup)
bl __invalidate_cpu_state
b secondary_startup
ENDPROC(tegra_secondary_startup)
- .previous
#endif
+ .section ".text.head", "ax"
#ifdef CONFIG_PM_SLEEP
/*
* tegra_resume