[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [XEN] Use gnttab_clear_flag() in new grant-table copy operation.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxxx
# Node ID 1fcc31985898c690e97d0cec493c59994c342f69
# Parent  21240dc9f2e8ad0cdc4ea7d572a90406bf474229
[XEN] Use gnttab_clear_flag() in new grant-table copy operation.
From: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/common/grant_table.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 21240dc9f2e8 -r 1fcc31985898 xen/common/grant_table.c
--- a/xen/common/grant_table.c  Sun Aug 13 17:47:59 2006 +0100
+++ b/xen/common/grant_table.c  Sun Aug 13 19:00:19 2006 +0100
@@ -724,10 +724,10 @@ __release_grant_for_copy(
         act->pin -= GNTPIN_hstw_inc;
 
     if ( !(act->pin & GNTPIN_hstw_mask) && !readonly )
-        clear_bit(_GTF_writing, &sha->flags);
+        gnttab_clear_flag(_GTF_writing, &sha->flags);
 
     if ( !act->pin )
-        clear_bit(_GTF_reading, &sha->flags);
+        gnttab_clear_flag(_GTF_reading, &sha->flags);
     spin_unlock(&rd->grant_table->lock);
 }
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.