[SPARC64]: Fix arch_teardown_msi_irq().
authorDavid S. Miller <davem@sunset.davemloft.net>
Mon, 26 Feb 2007 17:40:34 +0000 (09:40 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 26 Feb 2007 19:35:48 +0000 (11:35 -0800)
Need to use get_irq_msi() not get_irq_data().

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/pci.c

index 6b740eb6fe7e45915a0e4372cf496036b3d3fb23..6fedfb98f8b08116f92e8c05f9eb1de3d78f1c0c 100644 (file)
@@ -668,7 +668,7 @@ int arch_setup_msi_irq(struct pci_dev *pdev, struct msi_desc *desc)
 
 void arch_teardown_msi_irq(unsigned int virt_irq)
 {
-       struct msi_desc *entry = get_irq_data(virt_irq);
+       struct msi_desc *entry = get_irq_msi(virt_irq);
        struct pci_dev *pdev = entry->dev;
        struct pcidev_cookie *pcp = pdev->sysdata;
        struct pci_pbm_info *pbm = pcp->pbm;