diff options
Diffstat (limited to 'drivers/xen')
-rw-r--r-- | drivers/xen/events.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/xen/events.c b/drivers/xen/events.c index 7523719bf8a4..6b002cca1f5a 100644 --- a/drivers/xen/events.c +++ b/drivers/xen/events.c | |||
@@ -1670,6 +1670,7 @@ void __init xen_init_IRQ(void) | |||
1670 | 1670 | ||
1671 | evtchn_to_irq = kcalloc(NR_EVENT_CHANNELS, sizeof(*evtchn_to_irq), | 1671 | evtchn_to_irq = kcalloc(NR_EVENT_CHANNELS, sizeof(*evtchn_to_irq), |
1672 | GFP_KERNEL); | 1672 | GFP_KERNEL); |
1673 | BUG_ON(!evtchn_to_irq); | ||
1673 | for (i = 0; i < NR_EVENT_CHANNELS; i++) | 1674 | for (i = 0; i < NR_EVENT_CHANNELS; i++) |
1674 | evtchn_to_irq[i] = -1; | 1675 | evtchn_to_irq[i] = -1; |
1675 | 1676 | ||