From: Konrad Rzeszutek Wilk Subject: [PATCH 3/8] [xen/events] Export xen_clear_irq_pending and xen_poll_irq_timeout as the PCI front module utilizes them. Date: Tue, 22 Dec 2009 14:49:46 -0500 Message-ID: <1261511391-7022-4-git-send-email-konrad.wilk@oracle.com> References: <1261511391-7022-1-git-send-email-konrad.wilk@oracle.com> <1261511391-7022-2-git-send-email-konrad.wilk@oracle.com> <1261511391-7022-3-git-send-email-konrad.wilk@oracle.com> Return-path: In-Reply-To: <1261511391-7022-3-git-send-email-konrad.wilk@oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Jeremy Fitzhardinge , Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org 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 --- 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)) clear_evtchn(evtchn); } - +EXPORT_SYMBOL(xen_clear_irq_pending); 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) BUG(); } } +EXPORT_SYMBOL(xen_poll_irq_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) -- 1.6.2.5