Re: [RFC Part1 v1 07/18] x86, irq: Introduce helpers to access struct irq_cfg

From: Thomas Gleixner
Date: Thu Sep 11 2014 - 10:48:16 EST


On Thu, 11 Sep 2014, Thomas Gleixner wrote:
> On Thu, 11 Sep 2014, Jiang Liu wrote:
> > -static inline struct irq_cfg *irq_cfg(unsigned int irq)
> > +struct irq_cfg *irq_cfg(unsigned int irq)
> > {
> > return irq_get_chip_data(irq);
> > }
> >
> > +struct irq_cfg *irqd_cfg(struct irq_data *irq_data)
> > +{
> > + return irq_data->chip_data;
> > +}
>
> We can make those inlines. There is no point to have that as global
> functions.

Never mind. Just reading the other patch set.....
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/