|
@@ -392,8 +392,10 @@ static void xen_irq_init(unsigned irq)
|
|
struct irq_info *info;
|
|
struct irq_info *info;
|
|
struct irq_desc *desc = irq_to_desc(irq);
|
|
struct irq_desc *desc = irq_to_desc(irq);
|
|
|
|
|
|
|
|
+#ifdef CONFIG_SMP
|
|
/* By default all event channels notify CPU#0. */
|
|
/* By default all event channels notify CPU#0. */
|
|
cpumask_copy(desc->irq_data.affinity, cpumask_of(0));
|
|
cpumask_copy(desc->irq_data.affinity, cpumask_of(0));
|
|
|
|
+#endif
|
|
|
|
|
|
info = kzalloc(sizeof(*info), GFP_KERNEL);
|
|
info = kzalloc(sizeof(*info), GFP_KERNEL);
|
|
if (info == NULL)
|
|
if (info == NULL)
|