riscv: mm: notify remote harts about mmu cache updates
[platform/kernel/linux-rpi.git] / arch / riscv / include / asm / pgtable.h
index 39b5503..799c16e 100644 (file)
@@ -386,7 +386,7 @@ static inline void update_mmu_cache(struct vm_area_struct *vma,
         * Relying on flush_tlb_fix_spurious_fault would suffice, but
         * the extra traps reduce performance.  So, eagerly SFENCE.VMA.
         */
-       local_flush_tlb_page(address);
+       flush_tlb_page(vma, address);
 }
 
 static inline void update_mmu_cache_pmd(struct vm_area_struct *vma,