diff options
Diffstat (limited to 'arch/mips/include/asm')
-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 1854336e56a2..c56bf8afc099 100644 --- a/arch/mips/include/asm/pgtable.h +++ b/arch/mips/include/asm/pgtable.h | |||
@@ -362,8 +362,9 @@ extern void __update_cache(struct vm_area_struct *vma, unsigned long address, | |||
362 | pte_t pte); | 362 | pte_t pte); |
363 | 363 | ||
364 | static inline void update_mmu_cache(struct vm_area_struct *vma, | 364 | static inline void update_mmu_cache(struct vm_area_struct *vma, |
365 | unsigned long address, pte_t pte) | 365 | unsigned long address, pte_t *ptep) |
366 | { | 366 | { |
367 | pte_t pte = *ptep; | ||
367 | __update_tlb(vma, address, pte); | 368 | __update_tlb(vma, address, pte); |
368 | __update_cache(vma, address, pte); | 369 | __update_cache(vma, address, pte); |
369 | } | 370 | } |