diff options
Diffstat (limited to 'drivers/iommu/irq_remapping.h')
-rw-r--r-- | drivers/iommu/irq_remapping.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iommu/irq_remapping.h b/drivers/iommu/irq_remapping.h index b12974cc1dfe..be9d72950c51 100644 --- a/drivers/iommu/irq_remapping.h +++ b/drivers/iommu/irq_remapping.h | |||
@@ -59,9 +59,11 @@ struct irq_remap_ops { | |||
59 | unsigned int, int, | 59 | unsigned int, int, |
60 | struct io_apic_irq_attr *); | 60 | struct io_apic_irq_attr *); |
61 | 61 | ||
62 | #ifdef CONFIG_SMP | ||
62 | /* Set the CPU affinity of a remapped interrupt */ | 63 | /* Set the CPU affinity of a remapped interrupt */ |
63 | int (*set_affinity)(struct irq_data *data, const struct cpumask *mask, | 64 | int (*set_affinity)(struct irq_data *data, const struct cpumask *mask, |
64 | bool force); | 65 | bool force); |
66 | #endif | ||
65 | 67 | ||
66 | /* Free an IRQ */ | 68 | /* Free an IRQ */ |
67 | int (*free_irq)(int); | 69 | int (*free_irq)(int); |