]> git.karo-electronics.de Git - mv-sheeva.git/commit
xen: don't add extra_pages for RAM after mem_end
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Wed, 29 Sep 2010 23:54:33 +0000 (16:54 -0700)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Fri, 22 Oct 2010 19:57:32 +0000 (12:57 -0700)
commit3654581e47adc07072aebe239818485b68ea04f0
tree1496912323225c1d1b5186dffedf58f6b9c08388
parent41f2e4771a4f1ba26c35438daf32917b9ef7858d
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 <jeremy.fitzhardinge@citrix.com>
arch/x86/xen/setup.c