xen: set the actual extent of the mfn_list_list
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Fri, 27 Aug 2010 00:11:35 +0000 (17:11 -0700)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Fri, 22 Oct 2010 19:57:23 +0000 (12:57 -0700)
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
arch/x86/xen/mmu.c

index 909ad63..fcff8c8 100644 (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 = max_p2m_mfn;
+       HYPERVISOR_shared_info->arch.max_pfn = max_p2m_pfn;
 }
 
 /* Set up p2m_top to point to the domain-builder provided p2m pages */