summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/sleep.S
diff options
context:
space:
mode:
authorScott Williams <scwilliams@nvidia.com>2011-08-25 18:39:56 -0700
committerSimone Willett <swillett@nvidia.com>2012-03-08 14:46:36 -0800
commit5f78d12af48203ce469d625e1e1f5f27ca252cbb (patch)
tree11f34d4d5893009dd5ee03b9605c5d0539daf187 /arch/arm/mach-tegra/sleep.S
parent0bb7a7beaa19a77046220b18bd5c76e45662743b (diff)
ARM: tegra: power: Fix build error on non-SMP systems
Can't use NR_CPUS on non-SMP systems. Just use the maximum. Change-Id: I00b455adf950869146dfcd176efe4abdbe7aa24e Signed-off-by: Scott Williams <scwilliams@nvidia.com> Reviewed-on: http://git-master/r/87416 Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/sleep.S')
-rw-r--r--arch/arm/mach-tegra/sleep.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/sleep.S b/arch/arm/mach-tegra/sleep.S
index dff63a166575..973c8677bafe 100644
--- a/arch/arm/mach-tegra/sleep.S
+++ b/arch/arm/mach-tegra/sleep.S
@@ -162,7 +162,7 @@ ENDPROC(tegra_cpu_resume_phys)
#if USE_TEGRA_CPU_SUSPEND
tegra_phys_sleep_sp:
- .rept CONFIG_NR_CPUS
+ .rept 4
.long 0 @ preserve stack phys ptr here
.endr
#endif