From: Gavin Shan Date: Mon, 29 Sep 2014 16:13:46 +0000 (-0600) Subject: PCI: Export MSI message relevant functions X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3b307ffe3faad60aeda0e9a4f661d5c1edbd761e;p=linux-beck.git 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: Gavin Shan Acked-by: Bjorn Helgaas Signed-off-by: Alex Williamson --- diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index 5a40516444f3..e468d65eb238 100644 --- a/drivers/pci/msi.c +++ b/drivers/pci/msi.c @@ -312,6 +312,7 @@ void get_cached_msi_msg(unsigned int irq, struct msi_msg *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) { @@ -356,6 +357,7 @@ void write_msi_msg(unsigned int irq, struct msi_msg *msg) __write_msi_msg(entry, msg); } +EXPORT_SYMBOL_GPL(write_msi_msg); static void free_msi_irqs(struct pci_dev *dev) {