aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/pci.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-02-26 12:40:34 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2007-02-26 14:35:48 -0500
commitabfd336cd79ea154dc71f09272f578a731b81d8c (patch)
treea261ecf6c591a0aa309629d1299798376d5d3d40 /arch/sparc64/kernel/pci.c
parent5746c99dfa09231fa24cac1986de4661ea79a80f (diff)
[SPARC64]: Fix arch_teardown_msi_irq().
Need to use get_irq_msi() not get_irq_data(). Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/pci.c')
-rw-r--r--arch/sparc64/kernel/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/pci.c b/arch/sparc64/kernel/pci.c
index 6b740eb6fe7e..6fedfb98f8b0 100644
--- a/arch/sparc64/kernel/pci.c
+++ b/arch/sparc64/kernel/pci.c
@@ -668,7 +668,7 @@ int arch_setup_msi_irq(struct pci_dev *pdev, struct msi_desc *desc)
668 668
669void arch_teardown_msi_irq(unsigned int virt_irq) 669void arch_teardown_msi_irq(unsigned int virt_irq)
670{ 670{
671 struct msi_desc *entry = get_irq_data(virt_irq); 671 struct msi_desc *entry = get_irq_msi(virt_irq);
672 struct pci_dev *pdev = entry->dev; 672 struct pci_dev *pdev = entry->dev;
673 struct pcidev_cookie *pcp = pdev->sysdata; 673 struct pcidev_cookie *pcp = pdev->sysdata;
674 struct pci_pbm_info *pbm = pcp->pbm; 674 struct pci_pbm_info *pbm = pcp->pbm;