diff options
Diffstat (limited to 'mm/internal.h')
-rw-r--r-- | mm/internal.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/mm/internal.h b/mm/internal.h index d41475078b20..75596574911e 100644 --- a/mm/internal.h +++ b/mm/internal.h | |||
@@ -250,12 +250,8 @@ static inline void mminit_validate_memmodel_limits(unsigned long *start_pfn, | |||
250 | } | 250 | } |
251 | #endif /* CONFIG_SPARSEMEM */ | 251 | #endif /* CONFIG_SPARSEMEM */ |
252 | 252 | ||
253 | #define GUP_FLAGS_WRITE 0x01 | ||
254 | #define GUP_FLAGS_FORCE 0x02 | ||
255 | #define GUP_FLAGS_DUMP 0x04 | ||
256 | |||
257 | int __get_user_pages(struct task_struct *tsk, struct mm_struct *mm, | 253 | int __get_user_pages(struct task_struct *tsk, struct mm_struct *mm, |
258 | unsigned long start, int len, int flags, | 254 | unsigned long start, int len, unsigned int foll_flags, |
259 | struct page **pages, struct vm_area_struct **vmas); | 255 | struct page **pages, struct vm_area_struct **vmas); |
260 | 256 | ||
261 | #define ZONE_RECLAIM_NOSCAN -2 | 257 | #define ZONE_RECLAIM_NOSCAN -2 |