diff options
Diffstat (limited to 'arch/arm/mm/proc-v6.S')
-rw-r--r-- | arch/arm/mm/proc-v6.S | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mm/proc-v6.S b/arch/arm/mm/proc-v6.S index 2f5a3c23a0fe..22aac8515196 100644 --- a/arch/arm/mm/proc-v6.S +++ b/arch/arm/mm/proc-v6.S | |||
@@ -42,14 +42,11 @@ ENTRY(cpu_v6_proc_init) | |||
42 | mov pc, lr | 42 | mov pc, lr |
43 | 43 | ||
44 | ENTRY(cpu_v6_proc_fin) | 44 | ENTRY(cpu_v6_proc_fin) |
45 | stmfd sp!, {lr} | ||
46 | cpsid if @ disable interrupts | ||
47 | bl v6_flush_kern_cache_all | ||
48 | mrc p15, 0, r0, c1, c0, 0 @ ctrl register | 45 | mrc p15, 0, r0, c1, c0, 0 @ ctrl register |
49 | bic r0, r0, #0x1000 @ ...i............ | 46 | bic r0, r0, #0x1000 @ ...i............ |
50 | bic r0, r0, #0x0006 @ .............ca. | 47 | bic r0, r0, #0x0006 @ .............ca. |
51 | mcr p15, 0, r0, c1, c0, 0 @ disable caches | 48 | mcr p15, 0, r0, c1, c0, 0 @ disable caches |
52 | ldmfd sp!, {pc} | 49 | mov pc, lr |
53 | 50 | ||
54 | /* | 51 | /* |
55 | * cpu_v6_reset(loc) | 52 | * cpu_v6_reset(loc) |