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>
This commit is contained in:

committed by
Konrad Rzeszutek Wilk

parent
fd21069dfe
commit
0dc0064add
@@ -85,11 +85,6 @@ static inline unsigned xen_evtchn_max_channels(void)
|
||||
return evtchn_ops->max_channels();
|
||||
}
|
||||
|
||||
static inline unsigned xen_evtchn_nr_channels(void)
|
||||
{
|
||||
return evtchn_ops->nr_channels();
|
||||
}
|
||||
|
||||
/*
|
||||
* Do any ABI specific setup for a bound event channel before it can
|
||||
* be unmasked and used.
|
||||
|
Reference in New Issue
Block a user