]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/linux/huge_mm.h
thp: mprotect: transparent huge page support
[mv-sheeva.git] / include / linux / huge_mm.h
index 25125fb6acf755942e52a17531952cd32c81b95c..c590b08c6fa60321ea546aa24b2e0d19b3b448c4 100644 (file)
@@ -22,6 +22,8 @@ extern int zap_huge_pmd(struct mmu_gather *tlb,
 extern int mincore_huge_pmd(struct vm_area_struct *vma, pmd_t *pmd,
                        unsigned long addr, unsigned long end,
                        unsigned char *vec);
+extern int change_huge_pmd(struct vm_area_struct *vma, pmd_t *pmd,
+                       unsigned long addr, pgprot_t newprot);
 
 enum transparent_hugepage_flag {
        TRANSPARENT_HUGEPAGE_FLAG,