]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/mips/include/asm/pgtable.h
Merge branch 'drm-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied...
[karo-tx-linux.git] / arch / mips / include / asm / pgtable.h
index 93598ba013556eaccdf5c37b6551d9111afd1683..7e40f37781790206a1174830f295258d89ec648f 100644 (file)
@@ -368,8 +368,9 @@ extern void __update_cache(struct vm_area_struct *vma, unsigned long address,
        pte_t pte);
 
 static inline void update_mmu_cache(struct vm_area_struct *vma,
-       unsigned long address, pte_t pte)
+       unsigned long address, pte_t *ptep)
 {
+       pte_t pte = *ptep;
        __update_tlb(vma, address, pte);
        __update_cache(vma, address, pte);
 }