Skip to contentSkip to conversation

Another lost patch

PATCH [email protected] 1 participant 1 message Jun 2, 2003 MIPS

lore
Share & tools
lore
#0 lore raw

I think this is still needed as well...

Index: arch/mips64/mm/tlb-r4k.c
===================================================================
RCS file: /home/cvs/linux/arch/mips64/mm/tlb-r4k.c,v retrieving revision 1.18

mips64/mm/tlb-r4k.c 2 Jun 2003 03:58:44 -0000 renamed from mips64/mm/tlb-r4k.c 28 May 2003 07:32:46 -0000 1.18 +2 -1
diff -u -r1.18 tlb-r4k.c
@@ -253,8 +253,9 @@
        tlb_probe();
        BARRIER;
        pmdp = pmd_offset(pgdp, address);
+
        idx = read_c0_index();
-       ptep = pte_offset(pmdp, address);
+       ptep = pte_offset_map(pmdp, address);
        BARRIER;
        write_c0_entrylo0(pte_val(*ptep++) >> 6);
        write_c0_entrylo1(pte_val(*ptep) >> 6);