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: commit061e34c52e("ANDROID: implement wrapper for reverse migration") Bug: 175403896 Signed-off-by: Elliot Berman <eberman@codeaurora.org> (cherry picked from commitb9836d4090)
This commit is contained in:
committed by
Carlos Llamas
parent
3c3554ebf3
commit
9283e0977a
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user