summaryrefslogtreecommitdiffstats
path: root/arch/mips/mm/tlb-r8k.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/mm/tlb-r8k.c')
-rw-r--r--arch/mips/mm/tlb-r8k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mm/tlb-r8k.c b/arch/mips/mm/tlb-r8k.c
index 122f920..91c2499 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;
OpenPOWER on IntegriCloud