diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/migrate.h | 10 | ||||
| -rw-r--r-- | include/linux/mm.h | 2 |
2 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/migrate.h b/include/linux/migrate.h index 01aad3ed89ec..fab9b32ace8e 100644 --- a/include/linux/migrate.h +++ b/include/linux/migrate.h | |||
| @@ -36,9 +36,6 @@ extern int migrate_pages(struct list_head *l, new_page_t new, free_page_t free, | |||
| 36 | 36 | ||
| 37 | extern int migrate_prep(void); | 37 | extern int migrate_prep(void); |
| 38 | extern int migrate_prep_local(void); | 38 | extern int migrate_prep_local(void); |
| 39 | extern int migrate_vmas(struct mm_struct *mm, | ||
| 40 | const nodemask_t *from, const nodemask_t *to, | ||
| 41 | unsigned long flags); | ||
| 42 | extern void migrate_page_copy(struct page *newpage, struct page *page); | 39 | extern void migrate_page_copy(struct page *newpage, struct page *page); |
| 43 | extern int migrate_huge_page_move_mapping(struct address_space *mapping, | 40 | extern int migrate_huge_page_move_mapping(struct address_space *mapping, |
| 44 | struct page *newpage, struct page *page); | 41 | struct page *newpage, struct page *page); |
| @@ -57,13 +54,6 @@ static inline int migrate_pages(struct list_head *l, new_page_t new, | |||
| 57 | static inline int migrate_prep(void) { return -ENOSYS; } | 54 | static inline int migrate_prep(void) { return -ENOSYS; } |
| 58 | static inline int migrate_prep_local(void) { return -ENOSYS; } | 55 | static inline int migrate_prep_local(void) { return -ENOSYS; } |
| 59 | 56 | ||
| 60 | static inline int migrate_vmas(struct mm_struct *mm, | ||
| 61 | const nodemask_t *from, const nodemask_t *to, | ||
| 62 | unsigned long flags) | ||
| 63 | { | ||
| 64 | return -ENOSYS; | ||
| 65 | } | ||
| 66 | |||
| 67 | static inline void migrate_page_copy(struct page *newpage, | 57 | static inline void migrate_page_copy(struct page *newpage, |
| 68 | struct page *page) {} | 58 | struct page *page) {} |
| 69 | 59 | ||
diff --git a/include/linux/mm.h b/include/linux/mm.h index c0a67b894c4c..f80d0194c9bc 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
| @@ -286,8 +286,6 @@ struct vm_operations_struct { | |||
| 286 | */ | 286 | */ |
| 287 | struct mempolicy *(*get_policy)(struct vm_area_struct *vma, | 287 | struct mempolicy *(*get_policy)(struct vm_area_struct *vma, |
| 288 | unsigned long addr); | 288 | unsigned long addr); |
| 289 | int (*migrate)(struct vm_area_struct *vma, const nodemask_t *from, | ||
| 290 | const nodemask_t *to, unsigned long flags); | ||
| 291 | #endif | 289 | #endif |
| 292 | /* called by sys_remap_file_pages() to populate non-linear mapping */ | 290 | /* called by sys_remap_file_pages() to populate non-linear mapping */ |
| 293 | int (*remap_pages)(struct vm_area_struct *vma, unsigned long addr, | 291 | int (*remap_pages)(struct vm_area_struct *vma, unsigned long addr, |
