diff options
Diffstat (limited to 'include/asm-sh')
-rw-r--r-- | include/asm-sh/pgalloc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-sh/pgalloc.h b/include/asm-sh/pgalloc.h index 26e493f39dbb..18b613c57cf5 100644 --- a/include/asm-sh/pgalloc.h +++ b/include/asm-sh/pgalloc.h | |||
@@ -44,13 +44,13 @@ static inline void pgd_free(pgd_t *pgd) | |||
44 | static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm, | 44 | static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm, |
45 | unsigned long address) | 45 | unsigned long address) |
46 | { | 46 | { |
47 | return quicklist_alloc(QUICK_PT, GFP_KERNEL, NULL); | 47 | return quicklist_alloc(QUICK_PT, GFP_KERNEL | __GFP_REPEAT, NULL); |
48 | } | 48 | } |
49 | 49 | ||
50 | static inline struct page *pte_alloc_one(struct mm_struct *mm, | 50 | static inline struct page *pte_alloc_one(struct mm_struct *mm, |
51 | unsigned long address) | 51 | unsigned long address) |
52 | { | 52 | { |
53 | void *pg = quicklist_alloc(QUICK_PT, GFP_KERNEL, NULL); | 53 | void *pg = quicklist_alloc(QUICK_PT, GFP_KERNEL | __GFP_REPEAT, NULL); |
54 | return pg ? virt_to_page(pg) : NULL; | 54 | return pg ? virt_to_page(pg) : NULL; |
55 | } | 55 | } |
56 | 56 | ||