aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/pci_msi.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-10-14 02:50:38 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-14 02:50:38 -0400
commit256c1df36bbec6530c6f9b5a840cc5e87315c19e (patch)
treea5ee78dc315414ce42e9765f44fdc87e3033fe83 /arch/sparc64/kernel/pci_msi.c
parent771823007fa2acb15a726e7e1f8502d4f350b1fa (diff)
[SPARC64]: virt_irq --> bucket mapping no longer necessary
We used to need this to compute virt_irq --> ino, but that is no longer necessary. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/pci_msi.c')
-rw-r--r--arch/sparc64/kernel/pci_msi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/pci_msi.c b/arch/sparc64/kernel/pci_msi.c
index e4920cf960e7..31a165fd3e48 100644
--- a/arch/sparc64/kernel/pci_msi.c
+++ b/arch/sparc64/kernel/pci_msi.c
@@ -123,7 +123,7 @@ int sparc64_setup_msi_irq(unsigned int *virt_irq_p,
123 int msi, err; 123 int msi, err;
124 u32 msiqid; 124 u32 msiqid;
125 125
126 *virt_irq_p = virt_irq_alloc(~0, 0, 0); 126 *virt_irq_p = virt_irq_alloc(0, 0);
127 err = -ENOMEM; 127 err = -ENOMEM;
128 if (!*virt_irq_p) 128 if (!*virt_irq_p)
129 goto out_err; 129 goto out_err;