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/
Home Products Support Community News


[Xen-devel] [PATCH 3/8] [xen/events] Export xen_clear_irq_pending and xe

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 3/8] [xen/events] Export xen_clear_irq_pending and xen_poll_irq_timeout as the PCI front module utilizes them.
From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Date: Tue, 22 Dec 2009 14:49:46 -0500
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Delivery-date: Tue, 22 Dec 2009 11:59:59 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1261511391-7022-3-git-send-email-konrad.wilk@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1261511391-7022-1-git-send-email-konrad.wilk@xxxxxxxxxx> <1261511391-7022-2-git-send-email-konrad.wilk@xxxxxxxxxx> <1261511391-7022-3-git-send-email-konrad.wilk@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
These two functions are used in the IRQ handler of the PCI front
driver to check its state. They need to be accessible if
PCI front is compiled as a module.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
 drivers/xen/events.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/xen/events.c b/drivers/xen/events.c
index d977ab2..9836768 100644
--- a/drivers/xen/events.c
+++ b/drivers/xen/events.c
@@ -1253,7 +1253,7 @@ void xen_clear_irq_pending(int irq)
        if (VALID_EVTCHN(evtchn))
 void xen_set_irq_pending(int irq)
        int evtchn = evtchn_from_irq(irq);
@@ -1290,6 +1290,7 @@ void xen_poll_irq_timeout(int irq, u64 timeout)
 /* Poll waiting for an irq to become pending.  In the usual case, the
    irq will be disabled so it won't deliver an interrupt. */
 void xen_poll_irq(int irq)

Xen-devel mailing list