1 #ifndef _ASM_X86_IRQ_REMAPPING_H
2 #define _ASM_X86_IRQ_REMAPPING_H
4 #define IRTE_DEST(dest) ((x2apic_mode) ? dest : dest << 8)
6 #ifdef CONFIG_IRQ_REMAP
7 static void irq_remap_modify_chip_defaults(struct irq_chip *chip);
8 static inline bool irq_remapped(struct irq_cfg *cfg)
10 return cfg->irq_2_iommu.iommu != NULL;
13 static inline bool irq_remapped(struct irq_cfg *cfg)
17 static inline void irq_remap_modify_chip_defaults(struct irq_chip *chip)
22 #endif /* _ASM_X86_IRQ_REMAPPING_H */