mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
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 <[email protected]> Reviewed-by: Grant Likely <[email protected]> Cc: Tony Luck <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Fenghua Yu <[email protected]> Acked-by: Joerg Roedel <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
7 lines
176 B
C
7 lines
176 B
C
#ifndef __IA64_INTR_REMAPPING_H
|
|
#define __IA64_INTR_REMAPPING_H
|
|
#define irq_remapping_enabled 0
|
|
#define dmar_alloc_hwirq create_irq
|
|
#define dmar_free_hwirq destroy_irq
|
|
#endif
|