aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/pgtable.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/include/asm/pgtable.h')
-rw-r--r--arch/mips/include/asm/pgtable.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/include/asm/pgtable.h b/arch/mips/include/asm/pgtable.h
index 93598ba0135..7e40f377817 100644
--- a/arch/mips/include/asm/pgtable.h
+++ b/arch/mips/include/asm/pgtable.h
@@ -368,8 +368,9 @@ extern void __update_cache(struct vm_area_struct *vma, unsigned long address,
368 pte_t pte); 368 pte_t pte);
369 369
370static inline void update_mmu_cache(struct vm_area_struct *vma, 370static inline void update_mmu_cache(struct vm_area_struct *vma,
371 unsigned long address, pte_t pte) 371 unsigned long address, pte_t *ptep)
372{ 372{
373 pte_t pte = *ptep;
373 __update_tlb(vma, address, pte); 374 __update_tlb(vma, address, pte);
374 __update_cache(vma, address, pte); 375 __update_cache(vma, address, pte);
375} 376}