diff options
author | Suresh Siddha <suresh.b.siddha@intel.com> | 2012-05-08 00:08:53 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-05-08 11:17:30 +0200 |
commit | 82b481e80d8a17720b5805393684a95184cfb6bb (patch) | |
tree | 97bb317b7c9a80ef39114b40446b76271bc3bb44 /drivers/iommu/irq_remapping.h | |
parent | 399988eea194a8453e283fdd2da968d1fd39a7cf (diff) | |
download | op-kernel-dev-82b481e80d8a17720b5805393684a95184cfb6bb.zip op-kernel-dev-82b481e80d8a17720b5805393684a95184cfb6bb.tar.gz |
irq_remap: Fix UP build failure
Fix the below UP build failure with CONFIG_IRQ_REMAP enabled.
drivers/iommu/intel_irq_remapping.c:955:19: error: ‘struct irq_data’ has no member named ‘affinity’
Reported-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: joro@8bytes.org
Cc: iommu@lists.linux-foundation.org
Cc: Joerg Roedel <joerg.roedel@amd.com>
Link: http://lkml.kernel.org/r/1336460934-23592-2-git-send-email-suresh.b.siddha@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
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 b12974c..be9d729 100644 --- a/drivers/iommu/irq_remapping.h +++ b/drivers/iommu/irq_remapping.h @@ -59,9 +59,11 @@ struct irq_remap_ops { unsigned int, int, struct io_apic_irq_attr *); +#ifdef CONFIG_SMP /* Set the CPU affinity of a remapped interrupt */ int (*set_affinity)(struct irq_data *data, const struct cpumask *mask, bool force); +#endif /* Free an IRQ */ int (*free_irq)(int); |