From: Miklos Szeredi Date: Tue, 25 May 2010 13:06:06 +0000 (+0200) Subject: mm: export remove_from_page_cache() to modules X-Git-Tag: upstream/snapshot3+hdmi~14100^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a52116aba5b3eed0ee41f70b794cc1937acd5cb8;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git mm: export remove_from_page_cache() to modules This is needed to enable moving pages into the page cache in fuse with splice(..., SPLICE_F_MOVE). Signed-off-by: Miklos Szeredi --- diff --git a/mm/filemap.c b/mm/filemap.c index 140ebda..09a91a9 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -151,6 +151,7 @@ void remove_from_page_cache(struct page *page) spin_unlock_irq(&mapping->tree_lock); mem_cgroup_uncharge_cache_page(page); } +EXPORT_SYMBOL(remove_from_page_cache); static int sync_page(void *word) {