mm/huge_memory: streamline COW logic in do_huge_pmd_wp_page()
[linux-2.6-microblaze.git] / include / linux / huge_mm.h
index 0734aff..2999190 100644 (file)
@@ -183,7 +183,6 @@ unsigned long thp_get_unmapped_area(struct file *filp, unsigned long addr,
 
 void prep_transhuge_page(struct page *page);
 void free_transhuge_page(struct page *page);
-bool is_transparent_hugepage(struct page *page);
 
 bool can_split_folio(struct folio *folio, int *pextra_pins);
 int split_huge_page_to_list(struct page *page, struct list_head *list);
@@ -341,11 +340,6 @@ static inline bool transhuge_vma_enabled(struct vm_area_struct *vma,
 
 static inline void prep_transhuge_page(struct page *page) {}
 
-static inline bool is_transparent_hugepage(struct page *page)
-{
-       return false;
-}
-
 #define transparent_hugepage_flags 0UL
 
 #define thp_get_unmapped_area  NULL