aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorNamhoon Kim <namhoonk@cs.unc.edu>2016-09-09 16:18:12 -0400
committerNamhoon Kim <namhoonk@cs.unc.edu>2016-09-09 16:18:12 -0400
commit805c547ee3cdc2ef6a5f7556fdf449ced2e48680 (patch)
treeabeae409739a576291942281f9acf56725d73a1a /include/linux
parent418e60bb6948a4cf6eb7c737bea21c2314619c73 (diff)
TODO: Fix condition checks in replicate_page_move_mapping()wip-shared-lib
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/migrate.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/migrate.h b/include/linux/migrate.h
index cac1c0904d5f..b16047b82472 100644
--- a/include/linux/migrate.h
+++ b/include/linux/migrate.h
@@ -33,6 +33,8 @@ extern int migrate_page(struct address_space *,
33 struct page *, struct page *, enum migrate_mode); 33 struct page *, struct page *, enum migrate_mode);
34extern int migrate_pages(struct list_head *l, new_page_t new, free_page_t free, 34extern int migrate_pages(struct list_head *l, new_page_t new, free_page_t free,
35 unsigned long private, enum migrate_mode mode, int reason); 35 unsigned long private, enum migrate_mode mode, int reason);
36extern int replicate_pages(struct list_head *l, new_page_t new, free_page_t free,
37 unsigned long private, enum migrate_mode mode, int reason);
36 38
37extern int migrate_prep(void); 39extern int migrate_prep(void);
38extern int migrate_prep_local(void); 40extern int migrate_prep_local(void);
@@ -50,7 +52,11 @@ static inline int migrate_pages(struct list_head *l, new_page_t new,
50 free_page_t free, unsigned long private, enum migrate_mode mode, 52 free_page_t free, unsigned long private, enum migrate_mode mode,
51 int reason) 53 int reason)
52 { return -ENOSYS; } 54 { return -ENOSYS; }
53 55static inline int replicate_pages(struct list_head *l, new_page_t new,
56 free_page_t free, unsigned long private, enum migrate_mode mode,
57 int reason)
58 { return -ENOSYS; }
59
54static inline int migrate_prep(void) { return -ENOSYS; } 60static inline int migrate_prep(void) { return -ENOSYS; }
55static inline int migrate_prep_local(void) { return -ENOSYS; } 61static inline int migrate_prep_local(void) { return -ENOSYS; }
56 62