diff options
-rw-r--r-- | drivers/xen/events.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/xen/events.c b/drivers/xen/events.c index 56ace47f24d6..e6d47e8ca1ac 100644 --- a/drivers/xen/events.c +++ b/drivers/xen/events.c | |||
@@ -141,6 +141,8 @@ static void init_evtchn_cpu_bindings(void) | |||
141 | /* By default all event channels notify CPU#0. */ | 141 | /* By default all event channels notify CPU#0. */ |
142 | for (i = 0; i < nr_irqs; i++) { | 142 | for (i = 0; i < nr_irqs; i++) { |
143 | struct irq_desc *desc = irq_to_desc(i); | 143 | struct irq_desc *desc = irq_to_desc(i); |
144 | if (!desc) | ||
145 | continue; | ||
144 | desc->affinity = cpumask_of_cpu(0); | 146 | desc->affinity = cpumask_of_cpu(0); |
145 | } | 147 | } |
146 | #endif | 148 | #endif |