Commits

Colin Cross  committed b46165c

libpagemap: fix new kernel flag names to start with PM_PAGE_

Change-Id: I6b030d9d0356d63b3ddb853de304407bc70b38c4

  • Participants
  • Parent commits 4320541

Comments (0)

Files changed (1)

File 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);