[IA64] A few clean ups in __xen_create/destroy_contiguous_region.

This is the IA64 counter part of the C/S
10563:a75c1bdfe76146ad591574d805be5be0a3098d2a of xen-unstable.hg

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
This commit is contained in:
awilliam@xenbuild.aw committed 2006-07-03 08:33:15 -06:00
1 parent 50d4028f84
commit db19e295c9
1 file changed
+2 -2
@@ -198,7 +198,7 @@ __xen_create_contiguous_region(unsigned long vstart,
.nr_exchanged = 0
};
if (order > MAX_CONTIG_ORDER)
if (unlikely(order > MAX_CONTIG_ORDER))
return -ENOMEM;
set_xen_guest_handle(exchange.in.extent_start, in_frames);
@@ -299,7 +299,7 @@ __xen_destroy_contiguous_region(unsigned long vstart, unsigned int order)
if (!test_bit(start_gpfn, contiguous_bitmap))
return;
if (order > MAX_CONTIG_ORDER)
if (unlikely(order > MAX_CONTIG_ORDER))
return;
set_xen_guest_handle(exchange.in.extent_start, &in_frame);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.