aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/kernel/irq.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c
index 01bdae35cb55..b2ded6460a86 100644
--- a/arch/powerpc/kernel/irq.c
+++ b/arch/powerpc/kernel/irq.c
@@ -52,6 +52,7 @@
52#include <linux/radix-tree.h> 52#include <linux/radix-tree.h>
53#include <linux/mutex.h> 53#include <linux/mutex.h>
54#include <linux/bootmem.h> 54#include <linux/bootmem.h>
55#include <linux/pci.h>
55 56
56#include <asm/uaccess.h> 57#include <asm/uaccess.h>
57#include <asm/system.h> 58#include <asm/system.h>
@@ -827,12 +828,14 @@ int pci_enable_msi(struct pci_dev * pdev)
827 else 828 else
828 return -1; 829 return -1;
829} 830}
831EXPORT_SYMBOL(pci_enable_msi);
830 832
831void pci_disable_msi(struct pci_dev * pdev) 833void pci_disable_msi(struct pci_dev * pdev)
832{ 834{
833 if (ppc_md.disable_msi) 835 if (ppc_md.disable_msi)
834 ppc_md.disable_msi(pdev); 836 ppc_md.disable_msi(pdev);
835} 837}
838EXPORT_SYMBOL(pci_disable_msi);
836 839
837void pci_scan_msi_device(struct pci_dev *dev) {} 840void pci_scan_msi_device(struct pci_dev *dev) {}
838int pci_enable_msix(struct pci_dev* dev, struct msix_entry *entries, int nvec) {return -1;} 841int pci_enable_msix(struct pci_dev* dev, struct msix_entry *entries, int nvec) {return -1;}
@@ -840,6 +843,8 @@ void pci_disable_msix(struct pci_dev *dev) {}
840void msi_remove_pci_irq_vectors(struct pci_dev *dev) {} 843void msi_remove_pci_irq_vectors(struct pci_dev *dev) {}
841void disable_msi_mode(struct pci_dev *dev, int pos, int type) {} 844void disable_msi_mode(struct pci_dev *dev, int pos, int type) {}
842void pci_no_msi(void) {} 845void pci_no_msi(void) {}
846EXPORT_SYMBOL(pci_enable_msix);
847EXPORT_SYMBOL(pci_disable_msix);
843 848
844#endif 849#endif
845 850