summaryrefslogtreecommitdiffstats
path: root/arch/sparc64
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-02-26 09:40:34 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2007-02-26 11:35:48 -0800
commitabfd336cd79ea154dc71f09272f578a731b81d8c (patch)
treea261ecf6c591a0aa309629d1299798376d5d3d40 /arch/sparc64
parent5746c99dfa09231fa24cac1986de4661ea79a80f (diff)
downloadop-kernel-dev-abfd336cd79ea154dc71f09272f578a731b81d8c.zip
op-kernel-dev-abfd336cd79ea154dc71f09272f578a731b81d8c.tar.gz
[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')
-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 6b740eb..6fedfb9 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)
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;
OpenPOWER on IntegriCloud