Skip to content

Commit

Permalink
mm: export lru_cache_add_*() to modules
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Miklos Szeredi committed May 25, 2010
1 parent dd3bb14 commit 47846b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mm/swap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 47846b0

Please sign in to comment.