]> xenbits.xensource.com Git - people/royger/linux-2.6.18-xen.git/commit
xen/i386: follow-up to c/s 1101
authorJan Beulich <jbeulich@novell.com>
Fri, 19 Aug 2011 08:53:47 +0000 (09:53 +0100)
committerJan Beulich <jbeulich@novell.com>
Fri, 19 Aug 2011 08:53:47 +0000 (09:53 +0100)
commit405c3ddf0fa3c5bd7f505e508706a1f5a6f883e6
tree4a2602200b2108339c31914021be3ddde2c14205
parentc1d6255a7d3b7e48c01ccd0306ce1cb974a8314e
xen/i386: follow-up to c/s 1101

The numbers obtained from the hypervisor really can't ever lead to an
overflow here, only the original calculation going through the order
of the range could have. This avoids the (as Jeremy points outs)
somewhat ugly NULL-based calculation here.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
arch/i386/mach-xen/setup.c