[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [XEN] Fix build. Mercurial ate my changeset fixups. :-(
# HG changeset patch # User kfraser@xxxxxxxxxxxxxxxxxxxxx # Node ID 726960294d4bdc84a14a22164e368994ebe37bd2 # Parent 781ea5017f18ca99709f70a7ac9c99c1dec4d162 [XEN] Fix build. Mercurial ate my changeset fixups. :-( Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> --- xen/common/grant_table.c | 6 +++--- xen/include/xen/iocap.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff -r 781ea5017f18 -r 726960294d4b xen/common/grant_table.c --- a/xen/common/grant_table.c Fri Nov 17 10:48:34 2006 +0000 +++ b/xen/common/grant_table.c Fri Nov 17 12:13:24 2006 +0000 @@ -994,7 +994,7 @@ do_grant_table_op( if ( unlikely(!guest_handle_okay(map, count)) ) goto out; rc = -EPERM; - if ( unlikely(!grant_flip_permitted(d)) ) + if ( unlikely(!grant_operation_permitted(d)) ) goto out; rc = gnttab_map_grant_ref(map, count); break; @@ -1006,7 +1006,7 @@ do_grant_table_op( if ( unlikely(!guest_handle_okay(unmap, count)) ) goto out; rc = -EPERM; - if ( unlikely(!grant_flip_permitted(d)) ) + if ( unlikely(!grant_operation_permitted(d)) ) goto out; rc = gnttab_unmap_grant_ref(unmap, count); break; @@ -1024,7 +1024,7 @@ do_grant_table_op( if ( unlikely(!guest_handle_okay(transfer, count)) ) goto out; rc = -EPERM; - if ( unlikely(!grant_flip_permitted(d)) ) + if ( unlikely(!grant_operation_permitted(d)) ) goto out; rc = gnttab_transfer(transfer, count); break; diff -r 781ea5017f18 -r 726960294d4b xen/include/xen/iocap.h --- a/xen/include/xen/iocap.h Fri Nov 17 10:48:34 2006 +0000 +++ b/xen/include/xen/iocap.h Fri Nov 17 12:13:24 2006 +0000 @@ -36,7 +36,7 @@ * domains with no hardware-access privileges to perform grant map/transfer * operations. */ -#define grant_operations_permitted(d) \ +#define grant_operation_permitted(d) \ (!rangeset_is_empty((d)->iomem_caps)) #endif /* __XEN_IOCAP_H__ */ _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |