summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/headsmp-t2.S
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2010-10-23 15:01:35 -0700
committerColin Cross <ccross@android.com>2010-10-25 18:46:19 -0700
commit1c83ad292d5671e4ce07a299f42f0fef7b8666e4 (patch)
tree09ae4d5bf4c60a2c183cb0883978a3a1977a6bbf /arch/arm/mach-tegra/headsmp-t2.S
parent1d583e43c3280477060bce90a2489084904f4e4b (diff)
ARM: tegra: suspend: Fix compile issues with CONFIG_SMP=n
Move suspend pagetable creation to suspend.c Always compile headsmp-t2.S, it's needed for LP2 resume Change-Id: I9e23c6bf72fff3e98e0549edf1f85bec823a3a38 Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'arch/arm/mach-tegra/headsmp-t2.S')
-rw-r--r--arch/arm/mach-tegra/headsmp-t2.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/headsmp-t2.S b/arch/arm/mach-tegra/headsmp-t2.S
index fc1505559878..e25a3597f7fc 100644
--- a/arch/arm/mach-tegra/headsmp-t2.S
+++ b/arch/arm/mach-tegra/headsmp-t2.S
@@ -48,6 +48,7 @@
str \val, [\tmp]
.endm
+#ifdef CONFIG_SMP
/*
* tegra_secondary_startup
*
@@ -62,6 +63,7 @@ ENTRY(tegra_secondary_startup)
poke_ev r0, r1
b secondary_startup
ENDPROC(tegra_secondary_startup)
+#endif
/*
* __restart_pllx
@@ -194,4 +196,4 @@ __tegra_hotplug_data:
.long tegra_pgd_phys
.long __cortex_a9_restore
.size __tegra_hotplug_data, . - __tegra_hotplug_data
-#endif \ No newline at end of file
+#endif