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
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 00:59:38 -0700
commit3aa8e0b0fcc1d00bb3eb6e5d6ffd7cf9465c2192 (patch)
tree52822970646251bd7cbb1720a8598e82bff7c48d /arch/arm/mach-tegra/sleep.S
parent8d7a0ffcf40311e1e9aa2f146472e58d236a9bed (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> Rebase-Id: Rd38f56587bd586144b67680d3e6c595d5f6b3def
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 3fa65bfd2afb..1eb1d7542f25 100644
--- a/arch/arm/mach-tegra/sleep.S
+++ b/arch/arm/mach-tegra/sleep.S
@@ -146,7 +146,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