aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorJake Moilanen <moilanen@austin.ibm.com>2006-07-27 14:17:25 -0400
committerPaul Mackerras <paulus@samba.org>2006-08-08 03:06:59 -0400
commit45934c47237108903ec019f08e124e592ba0b6c2 (patch)
tree355209f7393ae88fbcea191b3123e00b913aac08 /arch/powerpc/kernel
parent919fede6edab94cccb3ca8c1c0b32fa62c9369a5 (diff)
[POWERPC] Export msi symbols
Forgot to export symbols for MSI. Signed-off-by: Jake Moilanen <moilanen@austin.ibm.com> Acked-by: Segher Boessenkool <segher@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel')
-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