ANDROID: mm: EXPORT_SYMBOL_GPL(reclaim_pages) position adjustment

EXPORT_SYMBOL_GPL(reclaim_pages) should follow reclaim_pages, not __reclaim_pages.

Bug: 365902592
Change-Id: Ieb1b991e40c8893af679fc3c3d711cd0ae049c9c
Signed-off-by: yipeng xiang <yipengxiang@honor.corp-partner.google.com>
This commit is contained in:
yipeng xiang
2024-12-09 10:33:50 +08:00
committed by Treehugger Robot
parent d8ccecb7c2
commit affd0c0263

View File

@@ -2814,12 +2814,12 @@ unsigned long __reclaim_pages(struct list_head *folio_list, void *private)
return nr_reclaimed;
}
EXPORT_SYMBOL_GPL(reclaim_pages);
unsigned long reclaim_pages(struct list_head *folio_list)
{
return __reclaim_pages(folio_list, NULL);
}
EXPORT_SYMBOL_GPL(reclaim_pages);
static unsigned long shrink_list(enum lru_list lru, unsigned long nr_to_scan,
struct lruvec *lruvec, struct scan_control *sc)