summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/sleep-t20.S
diff options
context:
space:
mode:
authorScott Williams <scwilliams@nvidia.com>2011-07-21 13:29:11 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 00:55:29 -0700
commit37ee558d3bceba891d3d2fcc104f07932d11694f (patch)
tree8563f280fad5a3ace9064b869f951738753f547b /arch/arm/mach-tegra/sleep-t20.S
parent88b3c7d625b670cbcfedc4ca4ac79b47d60378be (diff)
ARM: tegra: Always compile sleep.S
Decouple LP3 (WFI) mode and CPU hotplug shutdown from CONFIG_PM_SLEEP. Change-Id: Ie959fa5e044ab4a7f84772d3b743ce2680465acc Signed-off-by: Scott Williams <scwilliams@nvidia.com> DW: Split into logical changes Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com> Rebase-Id: R8f01e646e7bf65350db44557de87c4c2a33d8059
Diffstat (limited to 'arch/arm/mach-tegra/sleep-t20.S')
-rw-r--r--arch/arm/mach-tegra/sleep-t20.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/sleep-t20.S b/arch/arm/mach-tegra/sleep-t20.S
index 15d960800070..f7f119cbb325 100644
--- a/arch/arm/mach-tegra/sleep-t20.S
+++ b/arch/arm/mach-tegra/sleep-t20.S
@@ -77,6 +77,7 @@ ENTRY(tegra20_hotplug_shutdown)
mov pc, lr @ should never get here
ENDPROC(tegra20_hotplug_shutdown)
+#if defined(CONFIG_PM_SLEEP)
/*
* tegra20_cpu_shutdown(int cpu)
*
@@ -513,3 +514,4 @@ tegra2_sdram_pad_save:
.globl tegra2_iram_end
tegra2_iram_end:
b .
+#endif