Commit 49213e6f authored by David S. Miller's avatar David S. Miller

[SPARC64]: A few missing pgtable __GFP_REPEAT.

parent 6f06499b
...@@ -1173,7 +1173,7 @@ pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address) ...@@ -1173,7 +1173,7 @@ pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address)
} }
color = VPTE_COLOR(address); color = VPTE_COLOR(address);
page = alloc_pages(GFP_KERNEL, DC_ALIAS_SHIFT); page = alloc_pages(GFP_KERNEL|__GFP_REPEAT, DC_ALIAS_SHIFT);
if (page) { if (page) {
unsigned long *to_free; unsigned long *to_free;
unsigned long paddr; unsigned long paddr;
......
...@@ -71,7 +71,7 @@ static __inline__ pgd_t *get_pgd_fast(void) ...@@ -71,7 +71,7 @@ static __inline__ pgd_t *get_pgd_fast(void)
struct page *page; struct page *page;
preempt_enable(); preempt_enable();
page = alloc_page(GFP_KERNEL); page = alloc_page(GFP_KERNEL|__GFP_REPEAT);
if (page) { if (page) {
ret = (struct page *)page_address(page); ret = (struct page *)page_address(page);
clear_page(ret); clear_page(ret);
...@@ -110,7 +110,7 @@ static __inline__ pgd_t *get_pgd_fast(void) ...@@ -110,7 +110,7 @@ static __inline__ pgd_t *get_pgd_fast(void)
preempt_enable(); preempt_enable();
} else { } else {
preempt_enable(); preempt_enable();
ret = (unsigned long *) __get_free_page(GFP_KERNEL); ret = (unsigned long *) __get_free_page(GFP_KERNEL|__GFP_REPEAT);
if(ret) if(ret)
memset(ret, 0, PAGE_SIZE); memset(ret, 0, PAGE_SIZE);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment