x86/irq: Prepare consolidation of irq_alloc_info
authorThomas Gleixner <tglx@linutronix.de>
Wed, 26 Aug 2020 11:16:40 +0000 (13:16 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 16 Sep 2020 14:52:30 +0000 (16:52 +0200)
commit874d9b3a958897e914982962fa25b3bb9dc07988
tree1b56281bd7d9e2c2bbe0d31b8885bea89ffc7f0f
parent6b6256e616f7e10c4434cfcd32371fc33ca94e48
x86/irq: Prepare consolidation of irq_alloc_info

struct irq_alloc_info is a horrible zoo of unnamed structs in a union. Many
of the struct fields can be generic and don't have to be type specific like
hpet_id, ioapic_id...

Provide a generic set of members to prepare for the consolidation. The goal
is to make irq_alloc_info have the same basic member as the generic
msi_alloc_info so generic MSI domain ops can be reused and yet more mess
can be avoided when (non-PCI) device MSI support comes along.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20200826112331.849577844@linutronix.de
arch/x86/include/asm/hw_irq.h