aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2008-01-30 07:31:09 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:31:09 -0500
commit27ec161f93b8f018e0270a5383ea1d1c36f00c8a (patch)
treebe8f7601ef5684226f9f21e2489cb136ccac55fe /arch/x86
parent5fd1fe9c582e00ca0a98f852cd693dc3caf607a0 (diff)
x86: kill mk_pte_huge
It only has a single use, which can be trivially replaced. Signed-off-by: Jeremy Fitzhardinge <Jeremy.Fitzhardinge@citrix.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/mm/init_64.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
index 5cadbb40da3e..15e05a004fcf 100644
--- a/arch/x86/mm/init_64.c
+++ b/arch/x86/mm/init_64.c
@@ -742,8 +742,7 @@ int __meminit vmemmap_populate(struct page *start_page,
742 if (!p) 742 if (!p)
743 return -ENOMEM; 743 return -ENOMEM;
744 744
745 entry = pfn_pte(__pa(p) >> PAGE_SHIFT, PAGE_KERNEL); 745 entry = pfn_pte(__pa(p) >> PAGE_SHIFT, PAGE_KERNEL_LARGE);
746 mk_pte_huge(entry);
747 set_pmd(pmd, __pmd(pte_val(entry))); 746 set_pmd(pmd, __pmd(pte_val(entry)));
748 747
749 printk(KERN_DEBUG " [%lx-%lx] PMD ->%p on node %d\n", 748 printk(KERN_DEBUG " [%lx-%lx] PMD ->%p on node %d\n",