]> Gentwo Git Trees - linux/.git/commit
genirq: Merge irqaction::{dev_id,percpu_dev_id}
authorMarc Zyngier <maz@kernel.org>
Mon, 20 Oct 2025 12:29:29 +0000 (13:29 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 27 Oct 2025 16:16:34 +0000 (17:16 +0100)
commit5c2b2cc472e015e79c4f0170893a1e0883bd3bb4
tree99692a2497a8731e88c59db3768d0967b7fb7091
parent5ff78c8de9d83ad6fc0553bf8f2edc816385837d
genirq: Merge irqaction::{dev_id,percpu_dev_id}

When irqaction::percpu_dev_id was introduced, it was hoped that it could be
part of an anonymous union with dev_id, as the two fields are mutually
exclusive.

However, toolchains used at the time were often showing terrible support
for anonymous unions, breaking the build on a number of architectures. It
was therefore decided to keep the two fields separate and address this down
the line.

14 years later, the compiler dark age is over, and there is universal
support for anonymous unions. Get a whole pointer back that can immediately
be spent on something else.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Will Deacon <will@kernel.org>
Link: https://patch.msgid.link/20251020122944.3074811-13-maz@kernel.org
include/linux/interrupt.h