mm: add VM counters for transparent hugepages
[firefly-linux-kernel-4.4.55.git] / include / linux / pagemap.h
index e112b8db2f3c095a997d9901fe72b9deb770d3df..c119506526467d204b2c78a7d47bc0a7152129a4 100644 (file)
@@ -443,8 +443,9 @@ int add_to_page_cache_locked(struct page *page, struct address_space *mapping,
                                pgoff_t index, gfp_t gfp_mask);
 int add_to_page_cache_lru(struct page *page, struct address_space *mapping,
                                pgoff_t index, gfp_t gfp_mask);
-extern void remove_from_page_cache(struct page *page);
-extern void __remove_from_page_cache(struct page *page);
+extern void delete_from_page_cache(struct page *page);
+extern void __delete_from_page_cache(struct page *page);
+int replace_page_cache_page(struct page *old, struct page *new, gfp_t gfp_mask);
 
 /*
  * Like add_to_page_cache_locked, but used to add newly allocated pages: