mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
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>
This commit is contained in:
parent
dd3bb14f44
commit
47846b0650
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue