diff options
| -rw-r--r-- | arch/arm/mach-omap2/sleep34xx.S | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/arch/arm/mach-omap2/sleep34xx.S b/arch/arm/mach-omap2/sleep34xx.S index d1dedc8195ed..eafd120b53f1 100644 --- a/arch/arm/mach-omap2/sleep34xx.S +++ b/arch/arm/mach-omap2/sleep34xx.S | |||
| @@ -203,23 +203,8 @@ save_context_wfi: | |||
| 203 | */ | 203 | */ |
| 204 | ldr r1, kernel_flush | 204 | ldr r1, kernel_flush |
| 205 | blx r1 | 205 | blx r1 |
| 206 | /* | ||
| 207 | * The kernel doesn't interwork: v7_flush_dcache_all in particluar will | ||
| 208 | * always return in Thumb state when CONFIG_THUMB2_KERNEL is enabled. | ||
| 209 | * This sequence switches back to ARM. Note that .align may insert a | ||
| 210 | * nop: bx pc needs to be word-aligned in order to work. | ||
| 211 | */ | ||
| 212 | THUMB( .thumb ) | ||
| 213 | THUMB( .align ) | ||
| 214 | THUMB( bx pc ) | ||
| 215 | THUMB( nop ) | ||
| 216 | .arm | ||
| 217 | |||
| 218 | b omap3_do_wfi | 206 | b omap3_do_wfi |
| 219 | 207 | ENDPROC(omap34xx_cpu_suspend) | |
| 220 | /* | ||
| 221 | * Local variables | ||
| 222 | */ | ||
| 223 | omap3_do_wfi_sram_addr: | 208 | omap3_do_wfi_sram_addr: |
| 224 | .word omap3_do_wfi_sram | 209 | .word omap3_do_wfi_sram |
| 225 | kernel_flush: | 210 | kernel_flush: |
| @@ -364,10 +349,7 @@ exit_nonoff_modes: | |||
| 364 | * =================================== | 349 | * =================================== |
| 365 | */ | 350 | */ |
| 366 | ldmfd sp!, {r4 - r11, pc} @ restore regs and return | 351 | ldmfd sp!, {r4 - r11, pc} @ restore regs and return |
| 367 | 352 | ENDPROC(omap3_do_wfi) | |
| 368 | /* | ||
| 369 | * Local variables | ||
| 370 | */ | ||
| 371 | sdrc_power: | 353 | sdrc_power: |
| 372 | .word SDRC_POWER_V | 354 | .word SDRC_POWER_V |
| 373 | cm_idlest1_core: | 355 | cm_idlest1_core: |
