search for: ref_a

Displaying 1 result from an estimated 1 matches for "ref_a".

Did you mean: pref_a
2012 May 25
0
[PATCH 3/3] gnttab: cleanup
...- spin_lock(&d->grant_table->lock); op.version = d->grant_table->gt_version; - spin_unlock(&d->grant_table->lock); rcu_unlock_domain(d); @@ -2320,52 +2321,46 @@ gnttab_get_version(XEN_GUEST_HANDLE(gntt static s16 __gnttab_swap_grant_ref(grant_ref_t ref_a, grant_ref_t ref_b) { - struct domain *d; + struct domain *d = rcu_lock_current_domain(); + struct grant_table *gt = d->grant_table; struct active_grant_entry *act; s16 rc = GNTST_okay; - d = rcu_lock_current_domain(); - - spin_lock(&d->grant_table->lock); +...