From: Wei Yang Date: Thu, 2 Apr 2020 04:06:10 +0000 (-0700) Subject: mm/swap.c: not necessary to export __pagevec_lru_add() X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=bde07cfc65da5fe6c63fe23f035f5ccc0ffd89e0;p=uclinux-h8%2Flinux.git mm/swap.c: not necessary to export __pagevec_lru_add() __pagevec_lru_add() is only used in mm directory now. Remove the export symbol. Signed-off-by: Wei Yang Signed-off-by: Andrew Morton Reviewed-by: Andrew Morton Link: http://lkml.kernel.org/r/20200126011436.22979-1-richardw.yang@linux.intel.com Signed-off-by: Linus Torvalds --- diff --git a/mm/swap.c b/mm/swap.c index cf39d24ada2a..f502a2155e85 100644 --- a/mm/swap.c +++ b/mm/swap.c @@ -986,7 +986,6 @@ void __pagevec_lru_add(struct pagevec *pvec) { pagevec_lru_move_fn(pvec, __pagevec_lru_add_fn, NULL); } -EXPORT_SYMBOL(__pagevec_lru_add); /** * pagevec_lookup_entries - gang pagecache lookup