xen/balloon: Use PageHighMem() for high memory page detection
authorDaniel Kiper <dkiper@net-space.pl>
Mon, 28 Mar 2011 09:32:31 +0000 (11:32 +0200)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 30 Mar 2011 15:52:04 +0000 (11:52 -0400)
commita7f3c8f1da1050ad778c3a3930f07c63a5ec570b
tree6820a79adfbf6a14fc41931a2be1213739482eec
parent0ce790e7d736cedc563e1fb4e998babf5a4dbc3d
xen/balloon: Use PageHighMem() for high memory page detection

Replace pfn < max_low_pfn by !PageHighMem() in increase_reservation().
It makes more clearer what is going on.

Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Signed-off-by: Daniel Kiper <dkiper@net-space.pl>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/balloon.c