diff options
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/include/asm/pgtable.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/include/asm/pgtable.h b/arch/mips/include/asm/pgtable.h index 93598ba01355..7e40f3778179 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 | ||
370 | static inline void update_mmu_cache(struct vm_area_struct *vma, | 370 | static 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 | } |