direct-io.hg
changeset 10763:f4eb1e5cc9e7
[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 is the IA64 counter part of the C/S
10563:a75c1bdfe76146ad591574d805be5be0a3098d2a of xen-unstable.hg
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author | awilliam@xenbuild.aw |
---|---|
date | Mon Jul 03 08:33:15 2006 -0600 (2006-07-03) |
parents | e448723613ab |
children | 93e8817694ab |
files | linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c |
line diff
1.1 --- a/linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c Mon Jul 03 08:29:57 2006 -0600 1.2 +++ b/linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c Mon Jul 03 08:33:15 2006 -0600 1.3 @@ -198,7 +198,7 @@ int 1.4 .nr_exchanged = 0 1.5 }; 1.6 1.7 - if (order > MAX_CONTIG_ORDER) 1.8 + if (unlikely(order > MAX_CONTIG_ORDER)) 1.9 return -ENOMEM; 1.10 1.11 set_xen_guest_handle(exchange.in.extent_start, in_frames); 1.12 @@ -299,7 +299,7 @@ void 1.13 if (!test_bit(start_gpfn, contiguous_bitmap)) 1.14 return; 1.15 1.16 - if (order > MAX_CONTIG_ORDER) 1.17 + if (unlikely(order > MAX_CONTIG_ORDER)) 1.18 return; 1.19 1.20 set_xen_guest_handle(exchange.in.extent_start, &in_frame);