xen: prevent crashes with non-HIGHMEM 32-bit kernels with largeish memory
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Thu, 2 Dec 2010 23:30:06 +0000 (15:30 -0800)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Thu, 2 Dec 2010 23:30:06 +0000 (15:30 -0800)
commit2a4c92fa24e1853d0e21f9e6e45859b832240f94
tree03550915de5b335b5c333a75709e8c8b46514703
parentbc15fde77fc5d9ec2eec6066a5ab554ea1266a0a
xen: prevent crashes with non-HIGHMEM 32-bit kernels with largeish memory

If this is a non-HIGHMEM 32-bit kernel, then the page structures only go
up to the limit of addressable memory, even if more memory is physically
present.  Don't try to add that extra memory to the balloon.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
drivers/xen/balloon.c