mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
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:
committed by
Treehugger Robot
parent
d8ccecb7c2
commit
affd0c0263
@@ -2814,12 +2814,12 @@ unsigned long __reclaim_pages(struct list_head *folio_list, void *private)
|
|||||||
|
|
||||||
return nr_reclaimed;
|
return nr_reclaimed;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(reclaim_pages);
|
|
||||||
|
|
||||||
unsigned long reclaim_pages(struct list_head *folio_list)
|
unsigned long reclaim_pages(struct list_head *folio_list)
|
||||||
{
|
{
|
||||||
return __reclaim_pages(folio_list, NULL);
|
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,
|
static unsigned long shrink_list(enum lru_list lru, unsigned long nr_to_scan,
|
||||||
struct lruvec *lruvec, struct scan_control *sc)
|
struct lruvec *lruvec, struct scan_control *sc)
|
||||||
|
|||||||
Reference in New Issue
Block a user