diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2010-05-25 09:06:06 -0400 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2010-05-25 09:06:06 -0400 |
commit | 47846b0650f2f62fc4217cfb36efc94b8d919727 (patch) | |
tree | 59c406cc569ac303d70949b4acdd4f5028f68872 /mm/swap.c | |
parent | dd3bb14f44a6382de2508ec387c7e5569ad2d4f1 (diff) |
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 <mszeredi@suse.cz>
Diffstat (limited to 'mm/swap.c')
-rw-r--r-- | mm/swap.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -224,6 +224,7 @@ void __lru_cache_add(struct page *page, enum lru_list lru) | |||
224 | ____pagevec_lru_add(pvec, lru); | 224 | ____pagevec_lru_add(pvec, lru); |
225 | put_cpu_var(lru_add_pvecs); | 225 | put_cpu_var(lru_add_pvecs); |
226 | } | 226 | } |
227 | EXPORT_SYMBOL(__lru_cache_add); | ||
227 | 228 | ||
228 | /** | 229 | /** |
229 | * lru_cache_add_lru - add a page to a page list | 230 | * lru_cache_add_lru - add a page to a page list |