diff options
Diffstat (limited to 'arch/ppc')
-rw-r--r-- | arch/ppc/kernel/head_fsl_booke.S | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/ppc/kernel/head_fsl_booke.S b/arch/ppc/kernel/head_fsl_booke.S index 66877bdfe0b7..54f40d95cdb9 100644 --- a/arch/ppc/kernel/head_fsl_booke.S +++ b/arch/ppc/kernel/head_fsl_booke.S | |||
@@ -206,7 +206,8 @@ skpinv: addi r6,r6,1 /* Increment */ | |||
206 | rlwimi r7,r3,16,4,15 /* Setup MAS0 = TLBSEL | ESEL(r3) */ | 206 | rlwimi r7,r3,16,4,15 /* Setup MAS0 = TLBSEL | ESEL(r3) */ |
207 | mtspr SPRN_MAS0,r7 | 207 | mtspr SPRN_MAS0,r7 |
208 | tlbre | 208 | tlbre |
209 | li r6,0 | 209 | mfspr r6,SPRN_MAS1 |
210 | rlwinm r6,r6,0,2,0 /* clear IPROT */ | ||
210 | mtspr SPRN_MAS1,r6 | 211 | mtspr SPRN_MAS1,r6 |
211 | tlbwe | 212 | tlbwe |
212 | /* Invalidate TLB1 */ | 213 | /* Invalidate TLB1 */ |
@@ -248,6 +249,8 @@ skpinv: addi r6,r6,1 /* Increment */ | |||
248 | rlwimi r7,r5,16,4,15 /* Setup MAS0 = TLBSEL | ESEL(r5) */ | 249 | rlwimi r7,r5,16,4,15 /* Setup MAS0 = TLBSEL | ESEL(r5) */ |
249 | mtspr SPRN_MAS0,r7 | 250 | mtspr SPRN_MAS0,r7 |
250 | tlbre | 251 | tlbre |
252 | mfspr r8,SPRN_MAS1 | ||
253 | rlwinm r8,r8,0,2,0 /* clear IPROT */ | ||
251 | mtspr SPRN_MAS1,r8 | 254 | mtspr SPRN_MAS1,r8 |
252 | tlbwe | 255 | tlbwe |
253 | /* Invalidate TLB1 */ | 256 | /* Invalidate TLB1 */ |