xen: set shared_info->arch.max_pfn to max_p2m_pfn

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
This commit is contained in:
Jeremy Fitzhardinge 2010-08-26 17:06:58 -07:00
parent 3588fe2e3f
commit b7eb4ad391
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ void xen_setup_mfn_list_list(void)
HYPERVISOR_shared_info->arch.pfn_to_mfn_frame_list_list =
virt_to_mfn(p2m_top_mfn_list);
HYPERVISOR_shared_info->arch.max_pfn = xen_start_info->nr_pages;
HYPERVISOR_shared_info->arch.max_pfn = max_p2m_mfn;
}
/* Set up p2m_top to point to the domain-builder provided p2m pages */