projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5982b47
)
x86/irq: fix locking for c/s 24707:96987c324a4f debugging code
author
Jan Beulich
<jbeulich@suse.com>
Mon, 14 May 2012 10:06:09 +0000
(12:06 +0200)
committer
Jan Beulich
<jbeulich@suse.com>
Mon, 14 May 2012 10:06:09 +0000
(12:06 +0200)
Without this, dump_irqs() may try to acquire the lock the caller is
currently holding.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/irq.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/irq.c
b/xen/arch/x86/irq.c
index 425af2038705e5807e519943bf8c64bb88c61852..2fc676b716a17db45efbc704f492eb1da4a808d8 100644
(file)
--- 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,