[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86/irq: fix locking for c/s 24707:96987c324a4f debugging code
# HG changeset patch # User Jan Beulich <jbeulich@xxxxxxxx> # Date 1336989969 -7200 # Node ID 7fdefd89cd86f5664526aef2b4015aaddba2c54a # Parent cc7a054a5a27bbb75a9b83d3c62ed6094c209e66 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> Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> --- diff -r cc7a054a5a27 -r 7fdefd89cd86 xen/arch/x86/irq.c --- a/xen/arch/x86/irq.c Mon May 14 12:04:27 2012 +0200 +++ b/xen/arch/x86/irq.c Mon May 14 12:06:09 2012 +0200 @@ -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, _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |