From: kaf24@localhost.localdomain Date: Sun, 13 Aug 2006 18:00:19 +0000 (+0100) Subject: [XEN] Use gnttab_clear_flag() in new grant-table copy operation. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15710^2~136 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=54f3c52a11e2c4b4217c55b567389f3991ce35af;p=xen.git [XEN] Use gnttab_clear_flag() in new grant-table copy operation. From: Jimi Xenidis Signed-off-by: Keir Fraser --- diff --git a/xen/common/grant_table.c b/xen/common/grant_table.c index 277f83b0b9..9a0f3434a7 100644 --- a/xen/common/grant_table.c +++ b/xen/common/grant_table.c @@ -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); }