xen/balloon: simplify test for the end of usable RAM
authorDavid Vrabel <david.vrabel@citrix.com>
Wed, 28 Sep 2011 16:46:33 +0000 (17:46 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 29 Sep 2011 15:12:09 +0000 (11:12 -0400)
commitb1cbf9b1d6af22ba262d99abcfd71d5d90dbd57a
treeff8a5c8d68451f5ef23bc427351e061ef42ae7a4
parentaa24411b6717fd1e6ecef281bec497f6f30bbd66
xen/balloon: simplify test for the end of usable RAM

When initializing the balloon only max_pfn needs to be checked
(max_pfn will always be <= e820_end_of_ram_pfn()) and improve the
confusing comment.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/balloon.c