Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b307ffe authored by Gavin Shan's avatar Gavin Shan Committed by Alex Williamson
Browse files

PCI: Export MSI message relevant functions



The patch exports 2 MSI message relevant functions, which will be
used by VFIO PCI driver. The VFIO PCI driver would be built as
a module.

Signed-off-by: default avatarGavin Shan <gwshan@linux.vnet.ibm.com>
Acked-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent f5c9eceb
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -312,6 +312,7 @@ void get_cached_msi_msg(unsigned int irq, struct msi_msg *msg)


	__get_cached_msi_msg(entry, msg);
	__get_cached_msi_msg(entry, msg);
}
}
EXPORT_SYMBOL_GPL(get_cached_msi_msg);


void __write_msi_msg(struct msi_desc *entry, struct msi_msg *msg)
void __write_msi_msg(struct msi_desc *entry, struct msi_msg *msg)
{
{
@@ -356,6 +357,7 @@ void write_msi_msg(unsigned int irq, struct msi_msg *msg)


	__write_msi_msg(entry, msg);
	__write_msi_msg(entry, msg);
}
}
EXPORT_SYMBOL_GPL(write_msi_msg);


static void free_msi_irqs(struct pci_dev *dev)
static void free_msi_irqs(struct pci_dev *dev)
{
{