PCI/MSI: Move msi_lock to struct pci_dev
It's only required for PCI/MSI. So no point in having it in every struct device. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Link: https://lore.kernel.org/r/20211206210224.925241961@linutronix.de
This commit is contained in:
@@ -474,6 +474,7 @@ struct pci_dev {
|
||||
#endif
|
||||
#ifdef CONFIG_PCI_MSI
|
||||
void __iomem *msix_base;
|
||||
raw_spinlock_t msi_lock;
|
||||
const struct attribute_group **msi_irq_groups;
|
||||
#endif
|
||||
struct pci_vpd vpd;
|
||||
|
||||
Reference in New Issue
Block a user