[IA64] use domheap for mpt_table. Now there is no need to allocate pages for mpt_table from xenheap. So allocate it from domheap. Signed-off-by: Isaku Yamahata diff --git a/xen/arch/ia64/xen/xenmem.c b/xen/arch/ia64/xen/xenmem.c --- a/xen/arch/ia64/xen/xenmem.c +++ b/xen/arch/ia64/xen/xenmem.c @@ -49,6 +49,7 @@ paging_init (void) { unsigned int mpt_order; unsigned long mpt_table_size; + struct page_info *page; unsigned long i; if (!opt_contig_mem) { @@ -64,9 +65,11 @@ paging_init (void) mpt_table_size = max_page * sizeof(unsigned long); mpt_order = get_order(mpt_table_size); ASSERT(mpt_order <= MAX_ORDER); - if ((mpt_table = alloc_xenheap_pages(mpt_order)) == NULL) + page = alloc_domheap_pages(NULL, mpt_order, 0); + if (page == NULL) panic("Not enough memory to bootstrap Xen.\n"); + mpt_table = page_to_virt(page); printk("machine to physical table: 0x%lx mpt_table_size 0x%lx\n" "mpt_order %u max_page 0x%lx\n", (u64)mpt_table, mpt_table_size, mpt_order, max_page);