|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 3/8] [xen/events] Export xen_clear_irq_pending and xe
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))
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|