ANDROID: inline isolate_and_split_free_page

Add inline keyword to pass compilation when CONFIG_COMPACTION is not
enabled.

include/linux/compaction.h:241:22: warning: 'isolate_and_split_free_page' defined but not used [-Wunused-function]

Change-Id: I6bec2789a68e1b8fc9f4ea8f7267571a333d68ef
Fixes: commit 061e34c52e ("ANDROID: implement wrapper for reverse migration")
Bug: 175403896
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
(cherry picked from commit b9836d4090eb918a90e99f590e470e40eb8e200e)
This commit is contained in:
Elliot Berman 2021-04-21 10:10:24 -07:00 committed by Carlos Llamas
parent 3c3554ebf3
commit 9283e0977a
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ static inline void wakeup_kcompactd(pg_data_t *pgdat,
{
}
static unsigned long isolate_and_split_free_page(struct page *page,
static inline unsigned long isolate_and_split_free_page(struct page *page,
struct list_head *list)
{
return 0;