aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2010-08-26 20:06:58 -0400
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2010-10-22 15:57:22 -0400
commitb7eb4ad39134ee5b09634a710e50c2990f533231 (patch)
treebea2f7308da3538ca48081eabe6f44f653006001 /arch/x86
parent3588fe2e3f36543664beafedd3bb6dc3ffa896c5 (diff)
xen: set shared_info->arch.max_pfn to max_p2m_pfn
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/xen/mmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c
index 3de42d1e475b..909ad637c38d 100644
--- a/arch/x86/xen/mmu.c
+++ b/arch/x86/xen/mmu.c
@@ -224,7 +224,7 @@ void xen_setup_mfn_list_list(void)
224 224
225 HYPERVISOR_shared_info->arch.pfn_to_mfn_frame_list_list = 225 HYPERVISOR_shared_info->arch.pfn_to_mfn_frame_list_list =
226 virt_to_mfn(p2m_top_mfn_list); 226 virt_to_mfn(p2m_top_mfn_list);
227 HYPERVISOR_shared_info->arch.max_pfn = xen_start_info->nr_pages; 227 HYPERVISOR_shared_info->arch.max_pfn = max_p2m_mfn;
228} 228}
229 229
230/* Set up p2m_top to point to the domain-builder provided p2m pages */ 230/* Set up p2m_top to point to the domain-builder provided p2m pages */