|
@@ -42,8 +42,7 @@ static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm,
|
|
|
{
|
|
|
pte_t *pte;
|
|
|
|
|
|
- pte = (pte_t *) __get_free_pages(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO,
|
|
|
- PTE_ORDER);
|
|
|
+ pte = (pte_t *) __get_free_pages(GFP_KERNEL|__GFP_ZERO, PTE_ORDER);
|
|
|
|
|
|
return pte;
|
|
|
}
|
|
@@ -53,7 +52,7 @@ static inline pgtable_t pte_alloc_one(struct mm_struct *mm,
|
|
|
{
|
|
|
struct page *pte;
|
|
|
|
|
|
- pte = alloc_pages(GFP_KERNEL | __GFP_REPEAT, PTE_ORDER);
|
|
|
+ pte = alloc_pages(GFP_KERNEL, PTE_ORDER);
|
|
|
if (pte) {
|
|
|
if (!pgtable_page_ctor(pte)) {
|
|
|
__free_page(pte);
|