aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/xen/events.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/xen/events.c b/drivers/xen/events.c
index dc8177950d05..4591853f6ebc 100644
--- a/drivers/xen/events.c
+++ b/drivers/xen/events.c
@@ -392,8 +392,10 @@ static void xen_irq_init(unsigned irq)
392 struct irq_info *info; 392 struct irq_info *info;
393 struct irq_desc *desc = irq_to_desc(irq); 393 struct irq_desc *desc = irq_to_desc(irq);
394 394
395#ifdef CONFIG_SMP
395 /* By default all event channels notify CPU#0. */ 396 /* By default all event channels notify CPU#0. */
396 cpumask_copy(desc->irq_data.affinity, cpumask_of(0)); 397 cpumask_copy(desc->irq_data.affinity, cpumask_of(0));
398#endif
397 399
398 info = kzalloc(sizeof(*info), GFP_KERNEL); 400 info = kzalloc(sizeof(*info), GFP_KERNEL);
399 if (info == NULL) 401 if (info == NULL)