diff options
author | Jan Beulich <JBeulich@suse.com> | 2011-09-15 09:52:40 +0200 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-09-15 10:39:46 +0200 |
commit | 61cca2fab7ecba18f9b9680cd736ef5fa82ad3b1 (patch) | |
tree | 9a7fe7390778f20bfadcd5ecb9679785b5380cf7 /arch/x86/xen/setup.c | |
parent | xen/irq: Alter the locking to use a mutex instead of a spinlock. (diff) | |
download | linux-61cca2fab7ecba18f9b9680cd736ef5fa82ad3b1.tar.xz linux-61cca2fab7ecba18f9b9680cd736ef5fa82ad3b1.zip |
xen/i386: follow-up to "replace order-based range checking of M2P table by linear one"
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>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/x86/xen/setup.c')
0 files changed, 0 insertions, 0 deletions