[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, 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.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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