From: Jeremy Fitzhardinge Date: Wed, 29 Sep 2010 23:54:33 +0000 (-0700) Subject: xen: don't add extra_pages for RAM after mem_end X-Git-Tag: v2.6.37-rc1~93^3~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3654581e47adc07072aebe239818485b68ea04f0;p=pandora-kernel.git xen: don't add extra_pages for RAM after mem_end If an E820 region is entirely beyond mem_end, don't attempt to truncate it and add the truncated pages to extra_pages, as they will be negative. Also, make sure the extra memory region starts after all BIOS provided E820 regions (and in the case of RAM regions, post-clipping). Signed-off-by: Jeremy Fitzhardinge --- Reading git-diff-tree failed