X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Fxen%2Fevents.h;h=4680ff3fbc91c569990e2c48bec8183ffe7888f3;hb=c72305b5472522299bb6f45b736080128eb1c822;hp=67c4436554a9b3e80c457cd6c67437604e1613d2;hpb=17489c058e8c63ab5ebdc67ab52ca70d1bc270b1;p=linux-2.6-omap-h63xx.git diff --git a/include/xen/events.h b/include/xen/events.h index 67c4436554a..4680ff3fbc9 100644 --- a/include/xen/events.h +++ b/include/xen/events.h @@ -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 */