diff options
Diffstat (limited to 'arch/powerpc/mm/tlb_nohash_low.S')
-rw-r--r-- | arch/powerpc/mm/tlb_nohash_low.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/powerpc/mm/tlb_nohash_low.S b/arch/powerpc/mm/tlb_nohash_low.S index 626ad081639f..43ff3c797fbf 100644 --- a/arch/powerpc/mm/tlb_nohash_low.S +++ b/arch/powerpc/mm/tlb_nohash_low.S | |||
@@ -402,7 +402,9 @@ _GLOBAL(set_context) | |||
402 | * Load TLBCAM[index] entry in to the L2 CAM MMU | 402 | * Load TLBCAM[index] entry in to the L2 CAM MMU |
403 | */ | 403 | */ |
404 | _GLOBAL(loadcam_entry) | 404 | _GLOBAL(loadcam_entry) |
405 | LOAD_REG_ADDR(r4, TLBCAM) | 405 | mflr r5 |
406 | LOAD_REG_ADDR_PIC(r4, TLBCAM) | ||
407 | mtlr r5 | ||
406 | mulli r5,r3,TLBCAM_SIZE | 408 | mulli r5,r3,TLBCAM_SIZE |
407 | add r3,r5,r4 | 409 | add r3,r5,r4 |
408 | lwz r4,TLBCAM_MAS0(r3) | 410 | lwz r4,TLBCAM_MAS0(r3) |