Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Xen: Changelog

[xen-unstable] x86/irq: fix locking for c/s 24707:96987c324a4f debugging code

 

 

Xen changelog RSS feed   Index | Next | Previous | View Threaded


patchbot at xen

May 15, 2012, 12:11 AM

Post #1 of 1 (64 views)
Permalink
[xen-unstable] x86/irq: fix locking for c/s 24707:96987c324a4f debugging code

# HG changeset patch
# User Jan Beulich <jbeulich [at] suse>
# 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 [at] suse>
Acked-by: Andrew Cooper <andrew.cooper3 [at] citrix>
---


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 [at] lists
http://lists.xensource.com/xen-changelog

Xen changelog RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.