Re: [PATCH] genirq/irqaction: Move dev_id and percpu_dev_id in a union

2021-04-20 Thread Marc Zyngier
On Mon, 19 Apr 2021 00:44:14 +0100, Thomas Gleixner wrote: > > On Sat, Apr 10 2021 at 13:00, Marc Zyngier wrote: > > dev_id and percpu_dev_id are mutually exclusive in struct irqaction, > > as they conceptually represent the same thing, only in a per-cpu > > fashion. > > > > Move them into an

Re: [PATCH] genirq/irqaction: Move dev_id and percpu_dev_id in a union

2021-04-18 Thread Thomas Gleixner
On Sat, Apr 10 2021 at 13:00, Marc Zyngier wrote: > dev_id and percpu_dev_id are mutually exclusive in struct irqaction, > as they conceptually represent the same thing, only in a per-cpu > fashion. > > Move them into an anonymous union, saving a few bytes on the way. The reason why they are not

[PATCH] genirq/irqaction: Move dev_id and percpu_dev_id in a union

2021-04-10 Thread Marc Zyngier
dev_id and percpu_dev_id are mutually exclusive in struct irqaction, as they conceptually represent the same thing, only in a per-cpu fashion. Move them into an anonymous union, saving a few bytes on the way. Signed-off-by: Marc Zyngier --- include/linux/interrupt.h | 6 -- 1 file changed,