Re: [PATCH 6/9] xen/spinlock: Check against default value of -1 for IRQ line.

2013-04-29 Thread Konrad Rzeszutek Wilk
On Fri, Apr 26, 2013 at 05:18:01PM +0100, Stefano Stabellini wrote: > On Tue, 16 Apr 2013, Konrad Rzeszutek Wilk wrote: > > The default (uninitialized) value of the IRQ line is -1. > > Check if we already have allocated an spinlock interrupt line > > and if somebody is trying to do it again. Also s

Re: [PATCH 6/9] xen/spinlock: Check against default value of -1 for IRQ line.

2013-04-26 Thread Stefano Stabellini
On Tue, 16 Apr 2013, Konrad Rzeszutek Wilk wrote: > The default (uninitialized) value of the IRQ line is -1. > Check if we already have allocated an spinlock interrupt line > and if somebody is trying to do it again. Also set it to -1 > when we offline the CPU. > > Signed-off-by: Konrad Rzeszutek

[PATCH 6/9] xen/spinlock: Check against default value of -1 for IRQ line.

2013-04-16 Thread Konrad Rzeszutek Wilk
The default (uninitialized) value of the IRQ line is -1. Check if we already have allocated an spinlock interrupt line and if somebody is trying to do it again. Also set it to -1 when we offline the CPU. Signed-off-by: Konrad Rzeszutek Wilk --- arch/x86/xen/spinlock.c | 4 1 file changed, 4