aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/xen
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/xen')
-rw-r--r--arch/x86/xen/enlighten.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
index bb508456ef52..eaab6c9b4a84 100644
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@ -841,6 +841,7 @@ static __init void xen_set_pte_init(pte_t *ptep, pte_t pte)
841 841
842static __init void xen_pagetable_setup_start(pgd_t *base) 842static __init void xen_pagetable_setup_start(pgd_t *base)
843{ 843{
844#ifdef CONFIG_X86_32
844 pgd_t *xen_pgd = (pgd_t *)xen_start_info->pt_base; 845 pgd_t *xen_pgd = (pgd_t *)xen_start_info->pt_base;
845 int i; 846 int i;
846 847
@@ -886,6 +887,7 @@ static __init void xen_pagetable_setup_start(pgd_t *base)
886 /* Unpin initial Xen pagetable */ 887 /* Unpin initial Xen pagetable */
887 pin_pagetable_pfn(MMUEXT_UNPIN_TABLE, 888 pin_pagetable_pfn(MMUEXT_UNPIN_TABLE,
888 PFN_DOWN(__pa(xen_start_info->pt_base))); 889 PFN_DOWN(__pa(xen_start_info->pt_base)));
890#endif /* CONFIG_X86_32 */
889} 891}
890 892
891void xen_setup_shared_info(void) 893void xen_setup_shared_info(void)
@@ -927,9 +929,11 @@ static __init void xen_pagetable_setup_done(pgd_t *base)
927 929
928 xen_setup_shared_info(); 930 xen_setup_shared_info();
929 931
932#ifdef CONFIG_X86_32
930 /* Actually pin the pagetable down, but we can't set PG_pinned 933 /* Actually pin the pagetable down, but we can't set PG_pinned
931 yet because the page structures don't exist yet. */ 934 yet because the page structures don't exist yet. */
932 pin_pagetable_pfn(MMUEXT_PIN_L3_TABLE, PFN_DOWN(__pa(base))); 935 pin_pagetable_pfn(MMUEXT_PIN_L3_TABLE, PFN_DOWN(__pa(base)));
936#endif
933} 937}
934 938
935static __init void xen_post_allocator_init(void) 939static __init void xen_post_allocator_init(void)