Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179613
b: refs/heads/master
c: 1f667c6
h: refs/heads/master
i:
  179611: e98f257
v: v3
  • Loading branch information
Tony Lindgren authored and Russell King committed Jan 19, 2010
1 parent ab8a0e6 commit b7f1a1d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 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: ad3e6c0b1fad31282a8384903ed811671d840a9c
refs/heads/master: 1f667c690be3ab71036c436d8391105eee23f65b
9 changes: 8 additions & 1 deletion trunk/arch/arm/mm/proc-v7.S
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,14 @@ ENTRY(cpu_v7_proc_init)
ENDPROC(cpu_v7_proc_init)

ENTRY(cpu_v7_proc_fin)
mov pc, lr
stmfd sp!, {lr}
cpsid if @ disable interrupts
bl v7_flush_kern_cache_all
mrc p15, 0, r0, c1, c0, 0 @ ctrl register
bic r0, r0, #0x1000 @ ...i............
bic r0, r0, #0x0006 @ .............ca.
mcr p15, 0, r0, c1, c0, 0 @ disable caches
ldmfd sp!, {pc}
ENDPROC(cpu_v7_proc_fin)

/*
Expand Down

0 comments on commit b7f1a1d

Please sign in to comment.