]> Pileus Git - ~andy/linux/blobdiff - arch/ppc/mm/fsl_booke_mmu.c
[PATCH] ppc32: Add support for Freescale e200 (Book-E) core
[~andy/linux] / arch / ppc / mm / fsl_booke_mmu.c
index e07990efa046e238b8dcc4deadff38bb80afcf3d..9fa884de5c7c400cd895b31f4818584fee9d8311 100644 (file)
@@ -126,7 +126,7 @@ void settlbcam(int index, unsigned long virt, phys_addr_t phys,
                flags |= _PAGE_COHERENT;
 #endif
 
-       TLBCAM[index].MAS0 = MAS0_TLBSEL(1) | MAS0_ESEL(index);
+       TLBCAM[index].MAS0 = MAS0_TLBSEL(1) | MAS0_ESEL(index) | MAS0_NV(index+1);
        TLBCAM[index].MAS1 = MAS1_VALID | MAS1_IPROT | MAS1_TSIZE(tsize) | MAS1_TID(pid);
        TLBCAM[index].MAS2 = virt & PAGE_MASK;