]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xen: set max_pfn_mapped to the last pfn mapped
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 18 Feb 2011 11:32:40 +0000 (11:32 +0000)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 14 Mar 2012 14:56:47 +0000 (10:56 -0400)
commit30f1108402e6192e2931f7ae2e2213aeece17f5c
tree0376b446949c334fffb023d3de4a99643905da8c
parent0eafe6686c56b91d436265c9098e72a1f8ab4f19
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 <stefano.stabellini@eu.citrix.com>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
LKML-Reference: <alpine.DEB.2.00.1103171739050.3382@kaball-desktop>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/x86/xen/mmu.c