diff options
Diffstat (limited to 'arch/sh/include/asm/pgtable.h')
-rw-r--r-- | arch/sh/include/asm/pgtable.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/include/asm/pgtable.h b/arch/sh/include/asm/pgtable.h index ba3046e4f06f..1ff93ac1aa44 100644 --- a/arch/sh/include/asm/pgtable.h +++ b/arch/sh/include/asm/pgtable.h | |||
@@ -165,8 +165,9 @@ extern void __update_tlb(struct vm_area_struct *vma, | |||
165 | unsigned long address, pte_t pte); | 165 | unsigned long address, pte_t pte); |
166 | 166 | ||
167 | static inline void | 167 | static inline void |
168 | update_mmu_cache(struct vm_area_struct *vma, unsigned long address, pte_t pte) | 168 | update_mmu_cache(struct vm_area_struct *vma, unsigned long address, pte_t *ptep) |
169 | { | 169 | { |
170 | pte_t pte = *ptep; | ||
170 | __update_cache(vma, address, pte); | 171 | __update_cache(vma, address, pte); |
171 | __update_tlb(vma, address, pte); | 172 | __update_tlb(vma, address, pte); |
172 | } | 173 | } |