From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gavin Shan Subject: Re: [PATCH 1/4] PCI: Export MSI message relevant functions Date: Thu, 22 May 2014 15:10:14 +1000 Message-ID: <20140522051013.GB20348@shangw> References: <1400468470-11262-1-git-send-email-gwshan@linux.vnet.ibm.com> <1400468470-11262-2-git-send-email-gwshan@linux.vnet.ibm.com> Reply-To: Gavin Shan Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, alex.williamson@redhat.com, bhelgaas@google.com, linux-pci@vger.kernel.org To: Gavin Shan Return-path: Content-Disposition: inline In-Reply-To: <1400468470-11262-2-git-send-email-gwshan@linux.vnet.ibm.com> Sender: linux-pci-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Mon, May 19, 2014 at 01:01:07PM +1000, Gavin Shan wrote: >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 Bjorn, could you help ack it if you don't have objection to it? I guess Alex is probably waiting to merge the subsequent patch, which depends on this one. >--- > drivers/pci/msi.c | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c >index 955ab79..2350271 100644 >--- a/drivers/pci/msi.c >+++ b/drivers/pci/msi.c >@@ -324,6 +324,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) > { >@@ -368,6 +369,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) > { Thanks, Gavin