aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2014-09-29 12:13:46 -0400
committerAlex Williamson <alex.williamson@redhat.com>2014-09-29 12:13:46 -0400
commit3b307ffe3faad60aeda0e9a4f661d5c1edbd761e (patch)
treef34fa3289c664aaac205f5faac7023dad65c3830 /drivers/pci
parentf5c9ecebaf2a2c9381973798e389cc019dd983e0 (diff)
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 <gwshan@linux.vnet.ibm.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/msi.c2
1 files changed, 2 insertions, 0 deletions
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)
312 312
313 __get_cached_msi_msg(entry, msg); 313 __get_cached_msi_msg(entry, msg);
314} 314}
315EXPORT_SYMBOL_GPL(get_cached_msi_msg);
315 316
316void __write_msi_msg(struct msi_desc *entry, struct msi_msg *msg) 317void __write_msi_msg(struct msi_desc *entry, struct msi_msg *msg)
317{ 318{
@@ -356,6 +357,7 @@ void write_msi_msg(unsigned int irq, struct msi_msg *msg)
356 357
357 __write_msi_msg(entry, msg); 358 __write_msi_msg(entry, msg);
358} 359}
360EXPORT_SYMBOL_GPL(write_msi_msg);
359 361
360static void free_msi_irqs(struct pci_dev *dev) 362static void free_msi_irqs(struct pci_dev *dev)
361{ 363{