[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [XEN] Support unconnected IRQ lines in pirq_acktype().



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID c81eb1ccdce5f5ef8059deda71dc11b43c8687bb
# Parent  d17e0ffe47e8af0530e5436cae3d24ca0af94d67
[XEN] Support unconnected IRQ lines in pirq_acktype().
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/arch/x86/irq.c |    3 +++
 1 files changed, 3 insertions(+)

diff -r d17e0ffe47e8 -r c81eb1ccdce5 xen/arch/x86/irq.c
--- a/xen/arch/x86/irq.c        Sun Sep 24 10:07:18 2006 +0100
+++ b/xen/arch/x86/irq.c        Sun Sep 24 10:14:17 2006 +0100
@@ -350,6 +350,9 @@ int pirq_acktype(int irq)
         return ACKTYPE_NONE;
 
     desc = &irq_desc[vector];
+
+    if ( desc->handler == &no_irq_type )
+        return ACKTYPE_NONE;
 
     /*
      * Edge-triggered IO-APIC and LAPIC interrupts need no final

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.