From 98e10364bde098e12104caa4f566b17d05f8b791 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Mon, 14 May 2012 12:06:09 +0200 Subject: 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 Acked-by: Andrew Cooper --- xen/arch/x86/irq.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xen/arch/x86/irq.c') diff --git a/xen/arch/x86/irq.c b/xen/arch/x86/irq.c index 425af20387..2fc676b716 100644 --- a/xen/arch/x86/irq.c +++ b/xen/arch/x86/irq.c @@ -668,6 +668,7 @@ void irq_move_cleanup_interrupt(struct cpu_user_regs *regs) { 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, -- cgit v1.2.3