WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [XEN] Support unconnected IRQ lines in pi

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [XEN] Support unconnected IRQ lines in pirq_acktype().
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 25 Sep 2006 14:40:13 +0000
Delivery-date: Mon, 25 Sep 2006 07:41:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [XEN] Support unconnected IRQ lines in pirq_acktype()., Xen patchbot-unstable <=