diff options
Diffstat (limited to 'include/linux/swapops.h')
-rw-r--r-- | include/linux/swapops.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/swapops.h b/include/linux/swapops.h index 8d4fa82bfb91..c0f75261a728 100644 --- a/include/linux/swapops.h +++ b/include/linux/swapops.h | |||
@@ -139,7 +139,8 @@ static inline void make_migration_entry_read(swp_entry_t *entry) | |||
139 | 139 | ||
140 | extern void migration_entry_wait(struct mm_struct *mm, pmd_t *pmd, | 140 | extern void migration_entry_wait(struct mm_struct *mm, pmd_t *pmd, |
141 | unsigned long address); | 141 | unsigned long address); |
142 | extern void migration_entry_wait_huge(struct mm_struct *mm, pte_t *pte); | 142 | extern void migration_entry_wait_huge(struct vm_area_struct *vma, |
143 | struct mm_struct *mm, pte_t *pte); | ||
143 | #else | 144 | #else |
144 | 145 | ||
145 | #define make_migration_entry(page, write) swp_entry(0, 0) | 146 | #define make_migration_entry(page, write) swp_entry(0, 0) |
@@ -151,8 +152,8 @@ static inline int is_migration_entry(swp_entry_t swp) | |||
151 | static inline void make_migration_entry_read(swp_entry_t *entryp) { } | 152 | static inline void make_migration_entry_read(swp_entry_t *entryp) { } |
152 | static inline void migration_entry_wait(struct mm_struct *mm, pmd_t *pmd, | 153 | static inline void migration_entry_wait(struct mm_struct *mm, pmd_t *pmd, |
153 | unsigned long address) { } | 154 | unsigned long address) { } |
154 | static inline void migration_entry_wait_huge(struct mm_struct *mm, | 155 | static inline void migration_entry_wait_huge(struct vm_area_struct *vma, |
155 | pte_t *pte) { } | 156 | struct mm_struct *mm, pte_t *pte) { } |
156 | static inline int is_write_migration_entry(swp_entry_t entry) | 157 | static inline int is_write_migration_entry(swp_entry_t entry) |
157 | { | 158 | { |
158 | return 0; | 159 | return 0; |