]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/xen/events.h
xen: implement Xen-specific spinlocks
[linux-2.6-omap-h63xx.git] / include / xen / events.h
index 67c4436554a9b3e80c457cd6c67437604e1613d2..4680ff3fbc91c569990e2c48bec8183ffe7888f3 100644 (file)
@@ -44,4 +44,11 @@ extern void notify_remote_via_irq(int irq);
 
 extern void xen_irq_resume(void);
 
+/* Clear an irq's pending state, in preparation for polling on it */
+void xen_clear_irq_pending(int irq);
+
+/* 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);
+
 #endif /* _XEN_EVENTS_H */