summaryrefslogtreecommitdiff
path: root/include/xen
diff options
context:
space:
mode:
authorDavid Vrabel <david.vrabel@citrix.com>2013-09-24 00:03:38 +0400
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2014-01-06 19:07:50 +0400
commit0dc0064add422bc0ef5165ebe9ece3052bbd457d (patch)
tree29dff7edc3c45bf038e3b36a53d3bf4a647f29ff /include/xen
parentfd21069dfe31a4b20f5ef580006abe72d1660f5b (diff)
downloadlinux-0dc0064add422bc0ef5165ebe9ece3052bbd457d.tar.xz
xen/evtchn: support more than 4096 ports
Remove the check during unbind for NR_EVENT_CHANNELS as this limits support to less than 4096 ports. Signed-off-by: David Vrabel <david.vrabel@citrix.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'include/xen')
-rw-r--r--include/xen/events.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/xen/events.h b/include/xen/events.h
index 32ae0f263749..55b42cc997f6 100644
--- a/include/xen/events.h
+++ b/include/xen/events.h
@@ -7,6 +7,8 @@
#include <asm/xen/hypercall.h>
#include <asm/xen/events.h>
+unsigned xen_evtchn_nr_channels(void);
+
int bind_evtchn_to_irq(unsigned int evtchn);
int bind_evtchn_to_irqhandler(unsigned int evtchn,
irq_handler_t handler,