diff options
| author | fire855 <thefire855@gmail.com> | 2018-03-06 22:47:10 +0100 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2018-11-30 14:44:18 +0100 |
| commit | 2e7045e4e568b4ef4d8e6751409f402a08d09528 (patch) | |
| tree | f9d62f583c594eb9e75a96b91f5db55265740cfe /include/linux/highmem.h | |
| parent | 55bb226d3043c010e0c1d6e95e09c634053f9248 (diff) | |
mm: add CMA page allocation
needed for new ion driver
Diffstat (limited to 'include/linux/highmem.h')
| -rw-r--r-- | include/linux/highmem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/highmem.h b/include/linux/highmem.h index 41a50714f..db8c6cddf 100644 --- a/include/linux/highmem.h +++ b/include/linux/highmem.h @@ -180,7 +180,7 @@ static inline struct page * alloc_zeroed_user_highpage_movable(struct vm_area_struct *vma, unsigned long vaddr) { - return __alloc_zeroed_user_highpage(__GFP_MOVABLE, vma, vaddr); + return __alloc_zeroed_user_highpage(__GFP_MOVABLE | __GFP_CMA, vma, vaddr); } static inline void clear_highpage(struct page *page) |
