diff options
Diffstat (limited to 'arch/powerpc/mm/fsl_booke_mmu.c')
-rw-r--r-- | arch/powerpc/mm/fsl_booke_mmu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/mm/fsl_booke_mmu.c b/arch/powerpc/mm/fsl_booke_mmu.c index 354ba3c09ef3..bb1f88c10377 100644 --- a/arch/powerpc/mm/fsl_booke_mmu.c +++ b/arch/powerpc/mm/fsl_booke_mmu.c | |||
@@ -141,8 +141,6 @@ static void settlbcam(int index, unsigned long virt, phys_addr_t phys, | |||
141 | tlbcam_addrs[index].start = virt; | 141 | tlbcam_addrs[index].start = virt; |
142 | tlbcam_addrs[index].limit = virt + size - 1; | 142 | tlbcam_addrs[index].limit = virt + size - 1; |
143 | tlbcam_addrs[index].phys = phys; | 143 | tlbcam_addrs[index].phys = phys; |
144 | |||
145 | loadcam_entry(index); | ||
146 | } | 144 | } |
147 | 145 | ||
148 | unsigned long calc_cam_sz(unsigned long ram, unsigned long virt, | 146 | unsigned long calc_cam_sz(unsigned long ram, unsigned long virt, |
@@ -188,6 +186,8 @@ static unsigned long map_mem_in_cams_addr(phys_addr_t phys, unsigned long virt, | |||
188 | virt += cam_sz; | 186 | virt += cam_sz; |
189 | phys += cam_sz; | 187 | phys += cam_sz; |
190 | } | 188 | } |
189 | |||
190 | loadcam_multi(0, i, max_cam_idx); | ||
191 | tlbcam_index = i; | 191 | tlbcam_index = i; |
192 | 192 | ||
193 | #ifdef CONFIG_PPC64 | 193 | #ifdef CONFIG_PPC64 |