diff options
Diffstat (limited to 'arch/x86/xen/mmu.c')
-rw-r--r-- | arch/x86/xen/mmu.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c index e425a32e0a90..77b242c9a11e 100644 --- a/arch/x86/xen/mmu.c +++ b/arch/x86/xen/mmu.c | |||
@@ -1762,9 +1762,9 @@ __init pgd_t *xen_setup_kernel_pagetable(pgd_t *pgd, | |||
1762 | { | 1762 | { |
1763 | pmd_t *kernel_pmd; | 1763 | pmd_t *kernel_pmd; |
1764 | 1764 | ||
1765 | init_pg_tables_start = __pa(pgd); | 1765 | max_pfn_mapped = PFN_DOWN(__pa(xen_start_info->pt_base) + |
1766 | init_pg_tables_end = __pa(pgd) + xen_start_info->nr_pt_frames*PAGE_SIZE; | 1766 | xen_start_info->nr_pt_frames * PAGE_SIZE + |
1767 | max_pfn_mapped = PFN_DOWN(init_pg_tables_end + 512*1024); | 1767 | 512*1024); |
1768 | 1768 | ||
1769 | kernel_pmd = m2v(pgd[KERNEL_PGD_BOUNDARY].pgd); | 1769 | kernel_pmd = m2v(pgd[KERNEL_PGD_BOUNDARY].pgd); |
1770 | memcpy(level2_kernel_pgt, kernel_pmd, sizeof(pmd_t) * PTRS_PER_PMD); | 1770 | memcpy(level2_kernel_pgt, kernel_pmd, sizeof(pmd_t) * PTRS_PER_PMD); |
@@ -1916,7 +1916,6 @@ const struct pv_mmu_ops xen_mmu_ops __initdata = { | |||
1916 | 1916 | ||
1917 | #ifdef CONFIG_X86_PAE | 1917 | #ifdef CONFIG_X86_PAE |
1918 | .set_pte_atomic = xen_set_pte_atomic, | 1918 | .set_pte_atomic = xen_set_pte_atomic, |
1919 | .set_pte_present = xen_set_pte_at, | ||
1920 | .pte_clear = xen_pte_clear, | 1919 | .pte_clear = xen_pte_clear, |
1921 | .pmd_clear = xen_pmd_clear, | 1920 | .pmd_clear = xen_pmd_clear, |
1922 | #endif /* CONFIG_X86_PAE */ | 1921 | #endif /* CONFIG_X86_PAE */ |