aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWei Yang <[email protected]>2020-04-01 21:06:10 -0700
committerLinus Torvalds <[email protected]>2020-04-02 09:35:27 -0700
commitbde07cfc65da5fe6c63fe23f035f5ccc0ffd89e0 (patch)
tree9b37f32e897d7591c3ffc5ed07d3a42bd39e755b
parent3eeba1356dfc114e5fed3d05288a5bda0425927f (diff)
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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r--mm/swap.c1
1 files changed, 0 insertions, 1 deletions
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