diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-12-11 01:19:12 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2021-12-17 00:16:40 +0300 |
commit | 20c6d424cfe641659c9a025db8a8608701b27246 (patch) | |
tree | e582cb71146d41968a9c272374390e6977bdfa99 /drivers/mailbox | |
parent | fc22e7dbcdb3e06a3d3ce05fc91c6a2345411f9b (diff) | |
download | linux-20c6d424cfe641659c9a025db8a8608701b27246.tar.xz |
genirq/msi: Consolidate MSI descriptor data
All non PCI/MSI usage variants have data structures in struct msi_desc with
only one member: xxx_index. PCI/MSI has a entry_nr member.
Add a common msi_index member to struct msi_desc so all implementations can
share it which allows further consolidation.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Michael Kelley <mikelley@microsoft.com>
Tested-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20211210221814.350967317@linutronix.de
Diffstat (limited to 'drivers/mailbox')
0 files changed, 0 insertions, 0 deletions