|
@@ -27,6 +27,7 @@ typedef struct page *new_page_t(struct page *, unsigned long private, int **);
|
|
|
#ifdef CONFIG_MIGRATION
|
|
|
|
|
|
extern void putback_lru_pages(struct list_head *l);
|
|
|
+extern void putback_movable_pages(struct list_head *l);
|
|
|
extern int migrate_page(struct address_space *,
|
|
|
struct page *, struct page *, enum migrate_mode);
|
|
|
extern int migrate_pages(struct list_head *l, new_page_t x,
|
|
@@ -50,6 +51,7 @@ extern int migrate_huge_page_move_mapping(struct address_space *mapping,
|
|
|
#else
|
|
|
|
|
|
static inline void putback_lru_pages(struct list_head *l) {}
|
|
|
+static inline void putback_movable_pages(struct list_head *l) {}
|
|
|
static inline int migrate_pages(struct list_head *l, new_page_t x,
|
|
|
unsigned long private, bool offlining,
|
|
|
enum migrate_mode mode) { return -ENOSYS; }
|