diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2009-02-06 19:20:31 -0800 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-03-30 09:26:49 -0700 |
commit | d4c045364d3107603187f21a56ec231e74d26441 (patch) | |
tree | b182dcd46168c14f4a97f5c891b8ea1fe51008d1 /include/xen | |
parent | 6d02c42698f99eccb290ac53d4f10ca883b9f90c (diff) | |
download | kernel_samsung_aries-d4c045364d3107603187f21a56ec231e74d26441.zip kernel_samsung_aries-d4c045364d3107603187f21a56ec231e74d26441.tar.gz kernel_samsung_aries-d4c045364d3107603187f21a56ec231e74d26441.tar.bz2 |
xen: add irq_from_evtchn
Given an evtchn, return the corresponding irq.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'include/xen')
-rw-r--r-- | include/xen/events.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/xen/events.h b/include/xen/events.h index 0d5f1ad..e68d59a 100644 --- a/include/xen/events.h +++ b/include/xen/events.h @@ -53,4 +53,7 @@ bool xen_test_irq_pending(int irq); irq will be disabled so it won't deliver an interrupt. */ void xen_poll_irq(int irq); +/* Determine the IRQ which is bound to an event channel */ +unsigned irq_from_evtchn(unsigned int evtchn); + #endif /* _XEN_EVENTS_H */ |