diff options
| author | David Vrabel <david.vrabel@citrix.com> | 2013-09-23 16:03:38 -0400 |
|---|---|---|
| committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2014-01-06 10:07:50 -0500 |
| commit | 0dc0064add422bc0ef5165ebe9ece3052bbd457d (patch) | |
| tree | 29dff7edc3c45bf038e3b36a53d3bf4a647f29ff /include/xen | |
| parent | fd21069dfe31a4b20f5ef580006abe72d1660f5b (diff) | |
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.h | 2 |
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 @@ | |||
| 7 | #include <asm/xen/hypercall.h> | 7 | #include <asm/xen/hypercall.h> |
| 8 | #include <asm/xen/events.h> | 8 | #include <asm/xen/events.h> |
| 9 | 9 | ||
| 10 | unsigned xen_evtchn_nr_channels(void); | ||
| 11 | |||
| 10 | int bind_evtchn_to_irq(unsigned int evtchn); | 12 | int bind_evtchn_to_irq(unsigned int evtchn); |
| 11 | int bind_evtchn_to_irqhandler(unsigned int evtchn, | 13 | int bind_evtchn_to_irqhandler(unsigned int evtchn, |
| 12 | irq_handler_t handler, | 14 | irq_handler_t handler, |
