diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/mmzone.h | 1 | ||||
| -rw-r--r-- | include/linux/page-isolation.h | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index 9ceef771f..c44cd2925 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h @@ -102,6 +102,7 @@ static inline int get_pageblock_migratetype(struct page *page) struct free_area { struct list_head free_list[MIGRATE_TYPES]; unsigned long nr_free; + unsigned long nr_free_cma; }; struct pglist_data; diff --git a/include/linux/page-isolation.h b/include/linux/page-isolation.h index 843187592..6b6ad8a5c 100644 --- a/include/linux/page-isolation.h +++ b/include/linux/page-isolation.h @@ -37,10 +37,10 @@ bool has_unmovable_pages(struct zone *zone, struct page *page, int count, bool skip_hwpoisoned_pages); void set_pageblock_migratetype(struct page *page, int migratetype); int move_freepages_block(struct zone *zone, struct page *page, - int migratetype); + int migratetype, int old_mt); int move_freepages(struct zone *zone, struct page *start_page, struct page *end_page, - int migratetype); + int migratetype, int old_mt); /* * Changes migrate type in [start_pfn, end_pfn) to be MIGRATE_ISOLATE. |
