lkml.org 
[lkml]   [2020]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] mm/swap.c: not necessary to export __pagevec_lru_add()
Date
Function __pagevec_lru_add() only used in mm directory now.

Remove the export symbol.

Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
---
mm/swap.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/mm/swap.c b/mm/swap.c
index 0f35f5394c51..e45a10f7f3d6 100644
--- a/mm/swap.c
+++ b/mm/swap.c
@@ -983,7 +983,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
--
2.17.1
\
 
 \ /
  Last update: 2020-01-26 02:16    [W:0.027 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site