From: Miklos Szeredi Date: Tue, 25 May 2010 13:06:06 +0000 (+0200) Subject: mm: export lru_cache_add_*() to modules X-Git-Tag: upstream/snapshot3+hdmi~14100^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=47846b0650f2f62fc4217cfb36efc94b8d919727;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git mm: export lru_cache_add_*() 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/swap.c b/mm/swap.c index 7cd60bf..3ce7bc3 100644 --- a/mm/swap.c +++ b/mm/swap.c @@ -224,6 +224,7 @@ void __lru_cache_add(struct page *page, enum lru_list lru) ____pagevec_lru_add(pvec, lru); put_cpu_var(lru_add_pvecs); } +EXPORT_SYMBOL(__lru_cache_add); /** * lru_cache_add_lru - add a page to a page list