diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-06-21 17:26:29 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-06-24 09:48:43 +0200 |
commit | 34c79de6b2ea5bc5734d970851fb966b49d55a17 (patch) | |
tree | d0eda84c745e9147390b3af40c5cbeef98f57819 /arch/arm/mach-sa1100/sleep.S | |
parent | ARM: pm: move cpu_init() call into core code (diff) | |
download | linux-34c79de6b2ea5bc5734d970851fb966b49d55a17.tar.xz linux-34c79de6b2ea5bc5734d970851fb966b49d55a17.zip |
ARM: pm: sa1100: move cpu_suspend into C code
We don't need a veneer for cpu_suspend, it can be called directly from
C code now. Move it into sa11x0_pm_enter() along with the re-enabling
of clock switching.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-sa1100/sleep.S')
-rw-r--r-- | arch/arm/mach-sa1100/sleep.S | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/arch/arm/mach-sa1100/sleep.S b/arch/arm/mach-sa1100/sleep.S index f3fe39773f8b..e8223315b442 100644 --- a/arch/arm/mach-sa1100/sleep.S +++ b/arch/arm/mach-sa1100/sleep.S @@ -22,20 +22,13 @@ .text /* - * sa1100_cpu_suspend() + * sa1100_finish_suspend() * * Causes sa11x0 to enter sleep state * */ -ENTRY(sa1100_cpu_suspend) - stmfd sp!, {r4 - r12, lr} @ save registers on stack - mov r1, r0 - adr r3, BSYM(sa1100_finish_suspend) - bl cpu_suspend - ldmfd sp!, {r4 - r12, pc} @ return to caller - -sa1100_finish_suspend: +ENTRY(sa1100_finish_suspend) @ disable clock switching mcr p15, 0, r1, c15, c2, 2 |