diff options
Diffstat (limited to 'arch/arm/mm/proc-xscale.S')
-rw-r--r-- | arch/arm/mm/proc-xscale.S | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mm/proc-xscale.S b/arch/arm/mm/proc-xscale.S index 63037e2162f2..14075979bcba 100644 --- a/arch/arm/mm/proc-xscale.S +++ b/arch/arm/mm/proc-xscale.S | |||
@@ -124,15 +124,11 @@ ENTRY(cpu_xscale_proc_init) | |||
124 | * cpu_xscale_proc_fin() | 124 | * cpu_xscale_proc_fin() |
125 | */ | 125 | */ |
126 | ENTRY(cpu_xscale_proc_fin) | 126 | ENTRY(cpu_xscale_proc_fin) |
127 | str lr, [sp, #-4]! | ||
128 | mov r0, #PSR_F_BIT|PSR_I_BIT|SVC_MODE | ||
129 | msr cpsr_c, r0 | ||
130 | bl xscale_flush_kern_cache_all @ clean caches | ||
131 | mrc p15, 0, r0, c1, c0, 0 @ ctrl register | 127 | mrc p15, 0, r0, c1, c0, 0 @ ctrl register |
132 | bic r0, r0, #0x1800 @ ...IZ........... | 128 | bic r0, r0, #0x1800 @ ...IZ........... |
133 | bic r0, r0, #0x0006 @ .............CA. | 129 | bic r0, r0, #0x0006 @ .............CA. |
134 | mcr p15, 0, r0, c1, c0, 0 @ disable caches | 130 | mcr p15, 0, r0, c1, c0, 0 @ disable caches |
135 | ldr pc, [sp], #4 | 131 | mov pc, lr |
136 | 132 | ||
137 | /* | 133 | /* |
138 | * cpu_xscale_reset(loc) | 134 | * cpu_xscale_reset(loc) |