mm: save soft-dirty bits on swapped pages
[deliverable/linux.git] / include / asm-generic / pgtable.h
index 2f47ade1b5678f325faea455656a9578839b8638..2a7e0d10ad9aa19c459bb6bd41fd3d14ef584acd 100644 (file)
@@ -417,6 +417,21 @@ static inline pmd_t pmd_mksoft_dirty(pmd_t pmd)
 {
        return pmd;
 }
+
+static inline pte_t pte_swp_mksoft_dirty(pte_t pte)
+{
+       return pte;
+}
+
+static inline int pte_swp_soft_dirty(pte_t pte)
+{
+       return 0;
+}
+
+static inline pte_t pte_swp_clear_soft_dirty(pte_t pte)
+{
+       return pte;
+}
 #endif
 
 #ifndef __HAVE_PFNMAP_TRACKING
This page took 0.028345 seconds and 5 git commands to generate.