X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Farm%2Fplat-s3c24xx%2Fsleep.S;h=6ada459498a83e2a7e3fb2c21f11f8ea47fd7682;hb=c4ac82c07dd3e4fb5d65a52ffa94e302f80b609d;hp=fd7032f84ae7623198f97a28fc40854941be61b3;hpb=71a8638480eb8fb6cfabe2ee9ca3fbc6e3453a14;p=pandora-kernel.git diff --git a/arch/arm/plat-s3c24xx/sleep.S b/arch/arm/plat-s3c24xx/sleep.S index fd7032f84ae7..6ada459498a8 100644 --- a/arch/arm/plat-s3c24xx/sleep.S +++ b/arch/arm/plat-s3c24xx/sleep.S @@ -48,22 +48,16 @@ */ ENTRY(s3c_cpu_save) - stmfd sp!, { r4 - r12, lr } - ldr r3, =resume_with_mmu - bl cpu_suspend + adr r3, BSYM(s3c24xx_finish_suspend) + b cpu_suspend +s3c24xx_finish_suspend: @@ jump to final code to send system to sleep ldr r0, =pm_cpu_sleep @@ldr pc, [ r0 ] ldr r0, [ r0 ] mov pc, r0 - @@ return to the caller, after having the MMU - @@ turned on, this restores the last bits from the - @@ stack -resume_with_mmu: - ldmfd sp!, { r4 - r12, pc } - .ltorg /* sleep magic, to allow the bootloader to check for an valid