diff options
-rw-r--r-- | arch/arm/mm/proc-v7.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mm/proc-v7.S b/arch/arm/mm/proc-v7.S index b49fab21517c..0c1172b56b4e 100644 --- a/arch/arm/mm/proc-v7.S +++ b/arch/arm/mm/proc-v7.S | |||
@@ -159,7 +159,9 @@ ENTRY(cpu_v7_set_pte_ext) | |||
159 | tstne r1, #L_PTE_PRESENT | 159 | tstne r1, #L_PTE_PRESENT |
160 | moveq r3, #0 | 160 | moveq r3, #0 |
161 | 161 | ||
162 | str r3, [r0, #2048]! | 162 | ARM( str r3, [r0, #2048]! ) |
163 | THUMB( add r0, r0, #2048 ) | ||
164 | THUMB( str r3, [r0] ) | ||
163 | mcr p15, 0, r0, c7, c10, 1 @ flush_pte | 165 | mcr p15, 0, r0, c7, c10, 1 @ flush_pte |
164 | #endif | 166 | #endif |
165 | mov pc, lr | 167 | mov pc, lr |