diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-12-06 23:27:56 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2021-12-09 11:52:22 +0100 |
commit | cd119b09a87d8beb50356d8c5c6aa42d89c44eb7 (patch) | |
tree | 5dc69a57a8a6d5a47b4a9e410b1f9ae620944e13 /include/linux/pci.h | |
parent | 85aa607e79f8343f1ea028b29bdf8b6bc99c729a (diff) | |
download | lwn-cd119b09a87d8beb50356d8c5c6aa42d89c44eb7.tar.gz lwn-cd119b09a87d8beb50356d8c5c6aa42d89c44eb7.zip |
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
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 8cb103677f5a..5cc46baef519 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -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; |