Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 258236
b: refs/heads/master
c: 5fa94c8
h: refs/heads/master
v: v3
  • Loading branch information
Russell King committed Jun 24, 2011
1 parent 07110c4 commit cf69cf0
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 3fd431bd0cbc75a506b90b42619de3b04fe813a7
refs/heads/master: 5fa94c812c0001ac7c3d8868e956ec514734a352
5 changes: 3 additions & 2 deletions trunk/arch/arm/kernel/sleep.S
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@
* r1 = v:p offset
* r3 = virtual return function
* Note: sp is decremented to allocate space for CPU state on stack
* r0-r3,r9,r10,lr corrupted
* r0-r3,ip,lr corrupted
*/
ENTRY(cpu_suspend)
stmfd sp!, {r3}
stmfd sp!, {r4 - r11}
mov r9, lr
#ifdef MULTI_CPU
ldr r10, =processor
Expand Down Expand Up @@ -88,7 +89,7 @@ ENDPROC(cpu_resume_turn_mmu_on)
cpu_resume_after_mmu:
str r5, [r2, r4, lsl #2] @ restore old mapping
mcr p15, 0, r0, c1, c0, 0 @ turn on D-cache
ldmfd sp!, {pc}
ldmfd sp!, {r4 - r11, pc}
ENDPROC(cpu_resume_after_mmu)

/*
Expand Down

0 comments on commit cf69cf0

Please sign in to comment.