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