aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/migrate.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-05-15 05:06:42 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2014-12-17 08:26:51 -0500
commit50062175ffc844b8ff9664024c6416a37ad63c77 (patch)
treeacde5ad578854a34a31a97eea496cfd5e6e155ef /include/linux/migrate.h
parent777eda2c5b84d6f3543f4aecbf4cd1f29b222a81 (diff)
vm_area_operations: kill ->migrate()
the only instance this method has ever grown was one in kernfs - one that call ->migrate() of another vm_ops if it exists. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/migrate.h')
-rw-r--r--include/linux/migrate.h10
1 files changed, 0 insertions, 10 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
37extern int migrate_prep(void); 37extern int migrate_prep(void);
38extern int migrate_prep_local(void); 38extern int migrate_prep_local(void);
39extern int migrate_vmas(struct mm_struct *mm,
40 const nodemask_t *from, const nodemask_t *to,
41 unsigned long flags);
42extern void migrate_page_copy(struct page *newpage, struct page *page); 39extern void migrate_page_copy(struct page *newpage, struct page *page);
43extern int migrate_huge_page_move_mapping(struct address_space *mapping, 40extern 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,
57static inline int migrate_prep(void) { return -ENOSYS; } 54static inline int migrate_prep(void) { return -ENOSYS; }
58static inline int migrate_prep_local(void) { return -ENOSYS; } 55static inline int migrate_prep_local(void) { return -ENOSYS; }
59 56
60static 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
67static inline void migrate_page_copy(struct page *newpage, 57static inline void migrate_page_copy(struct page *newpage,
68 struct page *page) {} 58 struct page *page) {}
69 59