irq_remapping_get_ir_irq_domain(struct irq_alloc_info *info);
extern struct irq_domain *
irq_remapping_get_irq_domain(struct irq_alloc_info *info);
-extern void irq_remapping_print_chip(struct irq_data *data, struct seq_file *p);
/* Create PCI MSI/MSIx irqdomain, use @parent as the parent irqdomain. */
extern struct irq_domain *arch_create_msi_irq_domain(struct irq_domain *parent);
return NULL;
}
-#define irq_remapping_print_chip NULL
#endif /* CONFIG_IRQ_REMAP */
#endif /* __X86_IRQ_REMAPPING_H */
eoi_ioapic_irq(data->irq, irqd_cfg(data));
}
-void irq_remapping_print_chip(struct irq_data *data, struct seq_file *p)
-{
- /*
- * Assume interrupt is remapped if the parent irqdomain isn't the
- * vector domain, which is true for MSI, HPET and IOAPIC on x86
- * platforms.
- */
- if (data->domain && data->domain->parent != arch_get_ir_parent_domain())
- seq_printf(p, " IR-%s", data->chip->name);
- else
- seq_printf(p, " %s", data->chip->name);
-}
-
static void ir_print_prefix(struct irq_data *data, struct seq_file *p)
{
seq_printf(p, " IR-%s", data->chip->name);