ia64/xen-unstable

changeset 11093:1fcc31985898

[XEN] Use gnttab_clear_flag() in new grant-table copy operation.
From: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@localhost.localdomain
date Sun Aug 13 19:00:19 2006 +0100 (2006-08-13)
parents 21240dc9f2e8
children d4c9a653907b
files xen/common/grant_table.c
line diff
     1.1 --- a/xen/common/grant_table.c	Sun Aug 13 17:47:59 2006 +0100
     1.2 +++ b/xen/common/grant_table.c	Sun Aug 13 19:00:19 2006 +0100
     1.3 @@ -724,10 +724,10 @@ static void
     1.4          act->pin -= GNTPIN_hstw_inc;
     1.5  
     1.6      if ( !(act->pin & GNTPIN_hstw_mask) && !readonly )
     1.7 -        clear_bit(_GTF_writing, &sha->flags);
     1.8 +        gnttab_clear_flag(_GTF_writing, &sha->flags);
     1.9  
    1.10      if ( !act->pin )
    1.11 -        clear_bit(_GTF_reading, &sha->flags);
    1.12 +        gnttab_clear_flag(_GTF_reading, &sha->flags);
    1.13      spin_unlock(&rd->grant_table->lock);
    1.14  }
    1.15