diff options
author | Juergen Gross <jgross@suse.com> | 2014-08-28 06:44:09 +0200 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2014-09-23 15:36:19 +0200 |
commit | 854072dd0f73b8e4238c88bdf0dd2a8db0239c1c (patch) | |
tree | 8921c6aef3aee4b9b024f527b711b4003b5621ca /include | |
parent | xen/grant-table: refactor error cleanup in grow_gnttab_list() (diff) | |
download | linux-854072dd0f73b8e4238c88bdf0dd2a8db0239c1c.tar.xz linux-854072dd0f73b8e4238c88bdf0dd2a8db0239c1c.zip |
xen/events: support threaded irqs for interdomain event channels
Export bind_interdomain_evtchn_to_irq() so drivers can use threaded
interrupt handlers with:
irq = bind_interdomain_evtchn_to_irq(remote_dom, remote_port);
if (irq < 0)
/* error */
ret = request_threaded_irq(...);
Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/xen/events.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/xen/events.h b/include/xen/events.h index 8bee7a75e850..5321cd9636e6 100644 --- a/include/xen/events.h +++ b/include/xen/events.h @@ -28,6 +28,8 @@ int bind_ipi_to_irqhandler(enum ipi_vector ipi, unsigned long irqflags, const char *devname, void *dev_id); +int bind_interdomain_evtchn_to_irq(unsigned int remote_domain, + unsigned int remote_port); int bind_interdomain_evtchn_to_irqhandler(unsigned int remote_domain, unsigned int remote_port, irq_handler_t handler, |