aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/event_2l.c
diff options
context:
space:
mode:
Diffstat (limited to 'xen/common/event_2l.c')
-rw-r--r--xen/common/event_2l.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/common/event_2l.c b/xen/common/event_2l.c
index a9d99d3e92..5837ae8d26 100644
--- a/xen/common/event_2l.c
+++ b/xen/common/event_2l.c
@@ -96,6 +96,7 @@ static const struct evtchn_port_ops evtchn_port_ops_2l =
void evtchn_2l_init(struct domain *d)
{
d->evtchn_port_ops = &evtchn_port_ops_2l;
+ d->max_evtchns = BITS_PER_EVTCHN_WORD(d) * BITS_PER_EVTCHN_WORD(d);
}
/*