Re: [PATCH 01/27] x86/irq: Add data structure to keep AMD specificirq remapping information

From: Joerg Roedel
Date: Thu Jul 12 2012 - 11:40:33 EST


On Wed, Jul 11, 2012 at 02:42:03PM -0700, Yinghai Lu wrote:
> > #ifdef CONFIG_IRQ_REMAP
> > - struct irq_2_iommu irq_2_iommu;
> > + union irq_remap_info irq_remap_info;
>
> how about
> +union {
> + struct irq_2_iommu irq_2_iommu;
> + struct irq_2_irte irq_2_irte;
> +};
>
> instead?

Yes, that is better. I updated the patch (and 4-5 more patches in the
series to adapt them to this data structure change). I will update the
branch on my tree today and push the version with this change included.
Here is the new patch: