|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] x86/irq: fix locking for c/s 24707:96987c324a4f debugging code
Without this, dump_irqs() may try to acquire the lock the caller is
currently holding.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
--- a/xen/arch/x86/irq.c
+++ b/xen/arch/x86/irq.c
@@ -668,6 +668,7 @@ void irq_move_cleanup_interrupt(struct c
{
if ( unlikely(!test_bit(vector, desc->arch.used_vectors)) )
{
+ spin_unlock(&desc->lock);
bitmap_scnlistprintf(keyhandler_scratch,
sizeof(keyhandler_scratch),
desc->arch.used_vectors->_bits,
Attachment:
x86-24707-locking.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |