diff options
author | Arnd Bergmann <arnd@arndb.de> | 2011-10-01 15:09:39 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2011-10-01 15:09:39 -0400 |
commit | 15e0d9e37c7fe9711b60f47221c394d45553ad8c (patch) | |
tree | fd46b3ef48612d8c39a80627ee5c8fa9c422e15e /arch/arm/mm/proc-v7.S | |
parent | 82b9c18dc0ee38b5c78c5d09b9cffc79d98613c5 (diff) |
ARM: pm: let platforms select cpu_suspend support
Support for the cpu_suspend functions is only built-in
when CONFIG_PM_SLEEP is enabled, but omap3/4, exynos4
and pxa always call cpu_suspend when CONFIG_PM is enabled.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mm/proc-v7.S')
-rw-r--r-- | arch/arm/mm/proc-v7.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mm/proc-v7.S b/arch/arm/mm/proc-v7.S index a30e78542ccf..591accdb56e8 100644 --- a/arch/arm/mm/proc-v7.S +++ b/arch/arm/mm/proc-v7.S | |||
@@ -217,7 +217,7 @@ ENDPROC(cpu_v7_set_pte_ext) | |||
217 | /* Suspend/resume support: derived from arch/arm/mach-s5pv210/sleep.S */ | 217 | /* Suspend/resume support: derived from arch/arm/mach-s5pv210/sleep.S */ |
218 | .globl cpu_v7_suspend_size | 218 | .globl cpu_v7_suspend_size |
219 | .equ cpu_v7_suspend_size, 4 * 9 | 219 | .equ cpu_v7_suspend_size, 4 * 9 |
220 | #ifdef CONFIG_PM_SLEEP | 220 | #ifdef CONFIG_ARM_CPU_SUSPEND |
221 | ENTRY(cpu_v7_do_suspend) | 221 | ENTRY(cpu_v7_do_suspend) |
222 | stmfd sp!, {r4 - r11, lr} | 222 | stmfd sp!, {r4 - r11, lr} |
223 | mrc p15, 0, r4, c13, c0, 0 @ FCSE/PID | 223 | mrc p15, 0, r4, c13, c0, 0 @ FCSE/PID |