PCI/MSI: Split out CONFIG_PCI_MSI independent part
authorThomas Gleixner <tglx@linutronix.de>
Mon, 6 Dec 2021 22:27:49 +0000 (23:27 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 9 Dec 2021 10:52:22 +0000 (11:52 +0100)
commit54324c2f3d728f451d9053fcc7859b26fc9cecb4
tree19d1e2a59c19c84b1a86d4d7438ef8a3eda3f4d5
parent288c81ce4be7c15544605594966faaeb8803b5da
PCI/MSI: Split out CONFIG_PCI_MSI independent part

These functions are required even when CONFIG_PCI_MSI is not set. Move them
to their own file.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20211206210224.710137730@linutronix.de
drivers/pci/msi/Makefile
drivers/pci/msi/msi.c
drivers/pci/msi/pcidev_msi.c [new file with mode: 0644]