diff --git a/xen/arch/ia64/xen/xensetup.c b/xen/arch/ia64/xen/xensetup.c index 674c4ce518..8b6faeed26 100644 --- a/xen/arch/ia64/xen/xensetup.c +++ b/xen/arch/ia64/xen/xensetup.c @@ -155,6 +155,24 @@ struct ns16550_defaults ns16550_com2 = { .parity = 'n', .stop_bits = 1 }; +/* This is a wrapper function of init_domheap_pages, + * memory exceeds (max_page<vcpu[0]->cpu_affinity = cpumask_of_cpu(0); /* The stash space for the initial kernel image can now be freed up. */ - init_domheap_pages(ia64_boot_param->domain_start, - ia64_boot_param->domain_size); + /* init_domheap_pages_wrapper is temporary solution, please refer to the + * descriptor of this function */ + init_domheap_pages_wrapper(ia64_boot_param->domain_start, + ia64_boot_param->domain_start+ia64_boot_param->domain_size); /* throw away initrd area passed from elilo */ if (ia64_boot_param->initrd_size) { - init_domheap_pages(ia64_boot_param->initrd_start, - ia64_boot_param->initrd_size); + init_domheap_pages_wrapper(ia64_boot_param->initrd_start, + ia64_boot_param->initrd_start+ia64_boot_param->initrd_size); } if (!running_on_sim) // slow on ski and pages are pre-initialized to zero