Skip to contentSkip to conversation

mm/swap.c: not necessary to export __pagevec_lru_add()

PATCH Applied Wei Yang 1 participant 1 message Jan 26, 2020 Memory management

lore
Share & tools
lore

Wei Yang

author
#0 lore raw

PATCH 1/1 mm/swap.c: not necessary to export __pagevec_lru_add()

Function __pagevec_lru_add() only used in mm directory now.

Remove the export symbol.

---
 mm/swap.c | 1 -
 1 file changed, 1 deletion(-)
mm/swap.c +0 -1
index 0f35f5394c51..e45a10f7f3d6 100644
@@ -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
Signature · 1 line
2.17.1