x86: kill mk_pte_huge
[sfrench/cifs-2.6.git] / arch / x86 / mm / init_64.c
index 5cadbb40da3ef7ee6fe205c96bccb0522e698fdc..15e05a004fcfd67f17cfcc7e78cec3416b92b8e5 100644 (file)
@@ -742,8 +742,7 @@ int __meminit vmemmap_populate(struct page *start_page,
                        if (!p)
                                return -ENOMEM;
 
-                       entry = pfn_pte(__pa(p) >> PAGE_SHIFT, PAGE_KERNEL);
-                       mk_pte_huge(entry);
+                       entry = pfn_pte(__pa(p) >> PAGE_SHIFT, PAGE_KERNEL_LARGE);
                        set_pmd(pmd, __pmd(pte_val(entry)));
 
                        printk(KERN_DEBUG " [%lx-%lx] PMD ->%p on node %d\n",