thp: mincore transparent hugepage support
[pandora-kernel.git] / include / linux / huge_mm.h
index 43a694e..25125fb 100644 (file)
@@ -19,6 +19,9 @@ extern struct page *follow_trans_huge_pmd(struct mm_struct *mm,
 extern int zap_huge_pmd(struct mmu_gather *tlb,
                        struct vm_area_struct *vma,
                        pmd_t *pmd);
+extern int mincore_huge_pmd(struct vm_area_struct *vma, pmd_t *pmd,
+                       unsigned long addr, unsigned long end,
+                       unsigned char *vec);
 
 enum transparent_hugepage_flag {
        TRANSPARENT_HUGEPAGE_FLAG,