Juan Quintela
2006-May-04 20:48 UTC
[Xen-devel] [PATH]: Add missing spin_unlock_irq() to x86
Add missing spin_unlock_irq() at xen/arch/x86/irq.c Changeset 9889:42a8e3101c6c reorganized the code on this file, and missed this spin_unlock_irq(). Without this patch, my machine hang completely during boot. With this, it works. Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Chris Wright <chrisw@sous-sol.org> diff -r 1a84eec74331 xen/arch/x86/irq.c --- a/xen/arch/x86/irq.c Thu May 04 11:24:19 2006 +0100 +++ b/xen/arch/x86/irq.c Thu May 04 19:19:46 2006 +0200 @@ -318,6 +318,7 @@ static void __pirq_guest_eoi(struct doma { ASSERT(cpus_empty(action->cpu_eoi_map)); desc->handler->end(irq_to_vector(irq)); + spin_unlock_irq(&desc->lock); return; } _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Juan Quintela
2006-May-05 10:45 UTC
[Xen-devel] [PATH]: Add missing spin_unlock_irq() to x86
Add missing spin_unlock_irq() at xen/arch/x86/irq.c Changeset 9889:42a8e3101c6c reorganized the code on this file, and missed this spin_unlock_irq(). Without this patch, my machine hang completely during boot. With this, it works. Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Chris Wright <chrisw@sous-sol.org> diff -r 1a84eec74331 xen/arch/x86/irq.c --- a/xen/arch/x86/irq.c Thu May 04 11:24:19 2006 +0100 +++ b/xen/arch/x86/irq.c Thu May 04 19:19:46 2006 +0200 @@ -318,6 +318,7 @@ static void __pirq_guest_eoi(struct doma { ASSERT(cpus_empty(action->cpu_eoi_map)); desc->handler->end(irq_to_vector(irq)); + spin_unlock_irq(&desc->lock); return; } _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel