diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-05-07 11:44:11 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2014-05-16 08:05:19 -0400 |
commit | a553b142b8effbfcbba24ebbf8c07a1a86d32ce6 (patch) | |
tree | 3ee84a080f33514d8babcb29480b3d266fb449cf /arch/ia64 | |
parent | aa5125a45568f8f666f6d2f224fe8ab261b1069e (diff) |
iommu: dmar: Provide arch specific irq allocation
ia64 and x86 share this driver. x86 is moving to a different irq
allocation and ia64 keeps its private irq_create/destroy stuff.
Use macros to redirect to one or the other. Yes, macros to avoid
include hell.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Grant Likely <grant.likely@linaro.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Acked-by: Joerg Roedel <joro@8bytes.org>
Cc: x86@kernel.org
Cc: linux-ia64@vger.kernel.org
Cc: iommu@lists.linux-foundation.org
Link: http://lkml.kernel.org/r/20140507154336.372289825@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/include/asm/irq_remapping.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/ia64/include/asm/irq_remapping.h b/arch/ia64/include/asm/irq_remapping.h index a8687b1d8906..e3b3556e2e1b 100644 --- a/arch/ia64/include/asm/irq_remapping.h +++ b/arch/ia64/include/asm/irq_remapping.h | |||
@@ -1,4 +1,6 @@ | |||
1 | #ifndef __IA64_INTR_REMAPPING_H | 1 | #ifndef __IA64_INTR_REMAPPING_H |
2 | #define __IA64_INTR_REMAPPING_H | 2 | #define __IA64_INTR_REMAPPING_H |
3 | #define irq_remapping_enabled 0 | 3 | #define irq_remapping_enabled 0 |
4 | #define dmar_alloc_hwirq create_irq | ||
5 | #define dmar_free_hwirq destroy_irq | ||
4 | #endif | 6 | #endif |