Replacing alloc_pages(gfp,0) with alloc_page(gfp) in arch/i386/mm/pgtable.c.
Subsystems (2)
PATCH 1/1 Replacing alloc_pages(gfp,0) with alloc_page(gfp) in arch/i386/mm/pgtable.c.
Hi,
Replacing alloc_pages(gfp,0) with alloc_page(gfp) in arch/i386/mm/pgtable.c.
Signed-off-by Shani Moideen <[email protected]>
----
arch/i386/mm/pgtable.c +2 -2
@@ -191,9 +191,9 @@ struct page *pte_alloc_one(struct mm_struct *mm, unsigned long address)struct page *pte;#ifdef CONFIG_HIGHPTE - pte =alloc_pages (GFP_KERNEL |__GFP_HIGHMEM|__GFP_REPEAT|__GFP_ZERO,0 ); + pte =alloc_page (GFP_KERNEL |__GFP_HIGHMEM|__GFP_REPEAT|__GFP_ZERO);#else - pte =alloc_pages (GFP_KERNEL |__GFP_REPEAT|__GFP_ZERO,0 ); + pte =alloc_page (GFP_KERNEL |__GFP_REPEAT|__GFP_ZERO);#endif return pte; }
Signature · 7 lines
Shani -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>