Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322303
b: refs/heads/master
c: 5b6e3eb
h: refs/heads/master
i:
  322301: 9958886
  322299: 87d872c
  322295: 6cb4d48
  322287: 6094f43
  322271: 41b73a1
  322239: e326cf2
  322175: f9653d4
  322047: 27b0e52
v: v3
  • Loading branch information
Santosh Shilimkar authored and Kevin Hilman committed Aug 9, 2012
1 parent f92a0be commit 4cea233
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e0e29fd74c3c8bd2ef83bbaa73d528d58a944610
refs/heads/master: 5b6e3eb576e8ad03264d46982afed77bdc6323a3
8 changes: 6 additions & 2 deletions trunk/arch/arm/mach-omap2/sleep44xx.S
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,13 @@ ppa_por_params:
* The restore function pointer is stored at CPUx_WAKEUP_NS_PA_ADDR_OFFSET.
* It returns to the caller for CPU INACTIVE and ON power states or in case
* CPU failed to transition to targeted OFF/DORMANT state.
*
* omap4_finish_suspend() calls v7_flush_dcache_all() which doesn't save
* stack frame and it expects the caller to take care of it. Hence the entire
* stack frame is saved to avoid possible stack corruption.
*/
ENTRY(omap4_finish_suspend)
stmfd sp!, {lr}
stmfd sp!, {r4-r12, lr}
cmp r0, #0x0
beq do_WFI @ No lowpower state, jump to WFI

Expand Down Expand Up @@ -226,7 +230,7 @@ scu_gp_clear:
skip_scu_gp_clear:
isb
dsb
ldmfd sp!, {pc}
ldmfd sp!, {r4-r12, pc}
ENDPROC(omap4_finish_suspend)

/*
Expand Down

0 comments on commit 4cea233

Please sign in to comment.