diff options
Diffstat (limited to 'include/linux/migrate.h')
-rw-r--r-- | include/linux/migrate.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/migrate.h b/include/linux/migrate.h index 05ed2828a553..855c337b20c3 100644 --- a/include/linux/migrate.h +++ b/include/linux/migrate.h | |||
@@ -8,7 +8,6 @@ | |||
8 | typedef struct page *new_page_t(struct page *, unsigned long private, int **); | 8 | typedef struct page *new_page_t(struct page *, unsigned long private, int **); |
9 | 9 | ||
10 | #ifdef CONFIG_MIGRATION | 10 | #ifdef CONFIG_MIGRATION |
11 | #define PAGE_MIGRATION 1 | ||
12 | 11 | ||
13 | extern void putback_lru_pages(struct list_head *l); | 12 | extern void putback_lru_pages(struct list_head *l); |
14 | extern int migrate_page(struct address_space *, | 13 | extern int migrate_page(struct address_space *, |
@@ -32,7 +31,6 @@ extern void migrate_page_copy(struct page *newpage, struct page *page); | |||
32 | extern int migrate_huge_page_move_mapping(struct address_space *mapping, | 31 | extern int migrate_huge_page_move_mapping(struct address_space *mapping, |
33 | struct page *newpage, struct page *page); | 32 | struct page *newpage, struct page *page); |
34 | #else | 33 | #else |
35 | #define PAGE_MIGRATION 0 | ||
36 | 34 | ||
37 | static inline void putback_lru_pages(struct list_head *l) {} | 35 | static inline void putback_lru_pages(struct list_head *l) {} |
38 | static inline int migrate_pages(struct list_head *l, new_page_t x, | 36 | static inline int migrate_pages(struct list_head *l, new_page_t x, |