X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=arch%2Fmips%2Fmm%2Ftlb-r8k.c;h=91c2499f806a25809259a0b9682667ce2d7f31d5;hb=80124ed1ec12ae83dfdcae3ca15e491a813c1729;hp=122f9207f49e7f58871cda1bb681f73370fd1286;hpb=5c64e3a45d43c6e3fa87cbe02e10059171d10812;p=firefly-linux-kernel-4.4.55.git diff --git a/arch/mips/mm/tlb-r8k.c b/arch/mips/mm/tlb-r8k.c index 122f9207f49e..91c2499f806a 100644 --- a/arch/mips/mm/tlb-r8k.c +++ b/arch/mips/mm/tlb-r8k.c @@ -195,7 +195,7 @@ void __update_tlb(struct vm_area_struct * vma, unsigned long address, pte_t pte) if (current->active_mm != vma->vm_mm) return; - pid = ASID_MASK(read_c0_entryhi()); + pid = read_c0_entryhi() & ASID_MASK; local_irq_save(flags); address &= PAGE_MASK;