diff options
Diffstat (limited to 'arch/arm/mm/proc-v6.S')
-rw-r--r-- | arch/arm/mm/proc-v6.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mm/proc-v6.S b/arch/arm/mm/proc-v6.S index 75e65522c8d2..3429ddcf65d1 100644 --- a/arch/arm/mm/proc-v6.S +++ b/arch/arm/mm/proc-v6.S | |||
@@ -133,7 +133,7 @@ ENTRY(cpu_v6_switch_mm) | |||
133 | ENTRY(cpu_v6_set_pte) | 133 | ENTRY(cpu_v6_set_pte) |
134 | str r1, [r0], #-2048 @ linux version | 134 | str r1, [r0], #-2048 @ linux version |
135 | 135 | ||
136 | bic r2, r1, #0x00000ff0 | 136 | bic r2, r1, #0x000007f0 |
137 | bic r2, r2, #0x00000003 | 137 | bic r2, r2, #0x00000003 |
138 | orr r2, r2, #PTE_EXT_AP0 | 2 | 138 | orr r2, r2, #PTE_EXT_AP0 | 2 |
139 | 139 | ||
@@ -142,7 +142,7 @@ ENTRY(cpu_v6_set_pte) | |||
142 | orreq r2, r2, #PTE_EXT_APX | 142 | orreq r2, r2, #PTE_EXT_APX |
143 | 143 | ||
144 | tst r1, #L_PTE_USER | 144 | tst r1, #L_PTE_USER |
145 | orrne r2, r2, #PTE_EXT_AP1 | PTE_EXT_NG | 145 | orrne r2, r2, #PTE_EXT_AP1 |
146 | tstne r2, #PTE_EXT_APX | 146 | tstne r2, #PTE_EXT_APX |
147 | bicne r2, r2, #PTE_EXT_APX | PTE_EXT_AP0 | 147 | bicne r2, r2, #PTE_EXT_APX | PTE_EXT_AP0 |
148 | 148 | ||