Commits

Anonymous committed b46165c

libpagemap: fix new kernel flag names to start with PM_PAGE_

Change-Id: I6b030d9d0356d63b3ddb853de304407bc70b38c4

Comments (0)

Files changed (1)

libpagemap/include/pagemap/pagemap.h

 #define PM_PAGE_NOPAGE        (1 << 20)
 
 /* for kernels >= 2.6.32 */
-#define KPF_KSM               (1 << 21)
+#define PM_PAGE_KSM           (1 << 21)
 
 /* for kernels >= 3.4 */
-#define KPF_THP               (1 << 22)
+#define PM_PAGE_THP           (1 << 22)
 
 /* Destroy a pm_kernel_t. */
 int pm_kernel_destroy(pm_kernel_t *ker);