KVM: x86 emulator: Rename emulate_xxx() to em_xxx()
[deliverable/linux.git] / drivers / xen / events.c
index 553da68bd510c8ef0c7fecc2f5676778d6525954..30df85d8fca860d69a75079951feb9bb725944f1 100644 (file)
@@ -395,9 +395,9 @@ static void unmask_evtchn(int port)
 static void xen_irq_init(unsigned irq)
 {
        struct irq_info *info;
+#ifdef CONFIG_SMP
        struct irq_desc *desc = irq_to_desc(irq);
 
-#ifdef CONFIG_SMP
        /* By default all event channels notify CPU#0. */
        cpumask_copy(desc->irq_data.affinity, cpumask_of(0));
 #endif
This page took 0.023473 seconds and 5 git commands to generate.