From: Stefano Stabellini Date: Fri, 18 Feb 2011 11:32:40 +0000 (+0000) Subject: xen: set max_pfn_mapped to the last pfn mapped X-Git-Tag: v2.6.37.6~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=698c1ea2cde52b8d59c4427eb768abf721e7a5b9;p=pandora-kernel.git xen: set max_pfn_mapped to the last pfn mapped commit 14988a4d350ce3b41ecad4f63c4f44c56f5ae34d upstream. Do not set max_pfn_mapped to the end of the initial memory mappings, that also contain pages that don't belong in pfn space (like the mfn list). Set max_pfn_mapped to the last real pfn mapped in the initial memory mappings that is the pfn backing _end. Signed-off-by: Stefano Stabellini Acked-by: Konrad Rzeszutek Wilk LKML-Reference: Signed-off-by: H. Peter Anvin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed