aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c64xx/sleep.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-s3c64xx/sleep.S')
-rw-r--r--arch/arm/mach-s3c64xx/sleep.S23
1 files changed, 0 insertions, 23 deletions
diff --git a/arch/arm/mach-s3c64xx/sleep.S b/arch/arm/mach-s3c64xx/sleep.S
index 1f87732b232..34313f9c879 100644
--- a/arch/arm/mach-s3c64xx/sleep.S
+++ b/arch/arm/mach-s3c64xx/sleep.S
@@ -25,29 +25,6 @@
25 25
26 .text 26 .text
27 27
28 /* s3c_cpu_save
29 *
30 * Save enough processor state to allow the restart of the pm.c
31 * code after resume.
32 *
33 * entry:
34 * r1 = v:p offset
35 */
36
37ENTRY(s3c_cpu_save)
38 stmfd sp!, { r4 - r12, lr }
39 ldr r3, =resume_with_mmu
40 bl cpu_suspend
41
42 @@ call final suspend code
43 ldr r0, =pm_cpu_sleep
44 ldr pc, [r0]
45
46 @@ return to the caller, after the MMU is turned on.
47 @@ restore the last bits of the stack and return.
48resume_with_mmu:
49 ldmfd sp!, { r4 - r12, pc } @ return, from sp from s3c_cpu_save
50
51 /* Sleep magic, the word before the resume entry point so that the 28 /* Sleep magic, the word before the resume entry point so that the
52 * bootloader can check for a resumeable image. */ 29 * bootloader can check for a resumeable image. */
53 30