riscv: mm: fix regression due to update_mmu_cache change
[platform/kernel/linux-starfive.git] / arch / riscv / include / asm / pgtable.h
index 7ec9369..92ec2d9 100644 (file)
@@ -600,6 +600,7 @@ static inline int pmd_dirty(pmd_t pmd)
        return pte_dirty(pmd_pte(pmd));
 }
 
+#define pmd_young pmd_young
 static inline int pmd_young(pmd_t pmd)
 {
        return pte_young(pmd_pte(pmd));