diff options
Diffstat (limited to 'arch/arm/mm/proc-v7.S')
-rw-r--r-- | arch/arm/mm/proc-v7.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mm/proc-v7.S b/arch/arm/mm/proc-v7.S index cfc11afab1fb..2b5b20baf80d 100644 --- a/arch/arm/mm/proc-v7.S +++ b/arch/arm/mm/proc-v7.S | |||
@@ -314,6 +314,10 @@ __v7_setup: | |||
314 | #ifdef CONFIG_CPU_ENDIAN_BE8 | 314 | #ifdef CONFIG_CPU_ENDIAN_BE8 |
315 | orr r6, r6, #1 << 25 @ big-endian page tables | 315 | orr r6, r6, #1 << 25 @ big-endian page tables |
316 | #endif | 316 | #endif |
317 | #ifdef CONFIG_SWP_EMULATE | ||
318 | orr r5, r5, #(1 << 10) @ set SW bit in "clear" | ||
319 | bic r6, r6, #(1 << 10) @ clear it in "mmuset" | ||
320 | #endif | ||
317 | mrc p15, 0, r0, c1, c0, 0 @ read control register | 321 | mrc p15, 0, r0, c1, c0, 0 @ read control register |
318 | bic r0, r0, r5 @ clear bits them | 322 | bic r0, r0, r5 @ clear bits them |
319 | orr r0, r0, r6 @ set them | 323 | orr r0, r0, r6 @ set them |