summaryrefslogtreecommitdiff
path: root/arch/mips/mm/tlb-r8k.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-05-18 10:36:37 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-05-18 10:36:37 -0700
commit3c6a279ffccd0c414ecd1d5eb4670ed70072c526 (patch)
tree261e352318b779d7643cdcf79bb95a909389531e /arch/mips/mm/tlb-r8k.c
parent8f05bde9bd6da80365495369738ab869c1f8bcac (diff)
parent2792d42fe69e098a6e08ed814f49953b52874805 (diff)
downloadlwn-3c6a279ffccd0c414ecd1d5eb4670ed70072c526.tar.gz
lwn-3c6a279ffccd0c414ecd1d5eb4670ed70072c526.zip
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
Pull MIPS fixes from Ralf Baechle: "Patching up across the field. The reversion of the two ASID patches is particularly important as it was breaking many platforms." * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: MIPS: ralink: use the dwc2 driver for the rt305x USB controller MIPS: Extract schedule_mfi info from __schedule MIPS: Fix sibling call handling in get_frame_info MIPS: MSP71xx: remove inline marking of EXPORT_SYMBOL functions MIPS: Make virt_to_phys() work for all unmapped addresses. MIPS: Fix build error for crash_dump.c in 3.10-rc1 MIPS: Xway: Fix clk leak Revert "MIPS: Allow ASID size to be determined at boot time." Revert "MIPS: microMIPS: Support dynamic ASID sizing."
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 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;