These are only used in built-in core mm code. Signed-off-by: Christoph Hellwig <hch@xxxxxx> --- mm/memcontrol.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 45a160894a035..4cb4349065931 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -2014,7 +2014,6 @@ void folio_memcg_lock(struct folio *folio) memcg->move_lock_task = current; memcg->move_lock_flags = flags; } -EXPORT_SYMBOL(folio_memcg_lock); void lock_page_memcg(struct page *page) { @@ -2048,7 +2047,6 @@ void folio_memcg_unlock(struct folio *folio) { __folio_memcg_unlock(folio_memcg(folio)); } -EXPORT_SYMBOL(folio_memcg_unlock); void unlock_page_memcg(struct page *page) { -- 2.30.2