xen: make sure xen_max_p2m_pfn is up to date
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Wed, 15 Sep 2010 20:32:49 +0000 (13:32 -0700)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Fri, 22 Oct 2010 19:57:30 +0000 (12:57 -0700)
commit2f7acb208523a3bf5f1830f01c29f7feda045169
treec8327359441d761972e456257a01a1fee452f9e8
parent698bb8d14a5b577b6841acaccdf5095d3b7c7389
xen: make sure xen_max_p2m_pfn is up to date

Keep xen_max_p2m_pfn up to date with the end of the extra memory
we're adding.  It is possible that it will be too high since memory
may be truncated by a "mem=" option on the kernel command line, but
that won't matter.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
arch/x86/xen/mmu.c
arch/x86/xen/setup.c
arch/x86/xen/xen-ops.h