[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [IA64] A few clean ups in __xen_create/destroy_contiguous_region.
# HG changeset patch # User awilliam@xxxxxxxxxxx # Node ID f4eb1e5cc9e73338282c9bdc733049fa924d042f # Parent e448723613ab40a43bed358834135501ad2ee011 [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@xxxxxxxxxxxxx> --- linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -r e448723613ab -r f4eb1e5cc9e7 linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c --- a/linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c Mon Jul 03 08:29:57 2006 -0600 +++ b/linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c Mon Jul 03 08:33:15 2006 -0600 @@ -198,7 +198,7 @@ __xen_create_contiguous_region(unsigned .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 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); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |