[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v8 08/10] xen/arm: take the rank lock before accessing ipriority
On Thu, 17 Jul 2014, Ian Campbell wrote: > On Thu, 2014-07-10 at 19:13 +0100, Stefano Stabellini wrote: > > > -#define vgic_lock_rank(v, r) spin_lock(&(r)->lock) > > -#define vgic_unlock_rank(v, r) spin_unlock(&(r)->lock) > > +#define vgic_lock_rank(v, r) spin_lock_irqsave(&(r)->lock, flags) > > +#define vgic_unlock_rank(v, r) spin_unlock_irqrestore(&(r)->lock, flags) > > Please make flags an explicit macro parameter. OK _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |