summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/pci_msi.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-10-13 23:27:48 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-13 23:27:48 -0700
commitbb74b734a68544ad8f1537a33a7e22c73c87ed1c (patch)
tree27c0d6112ee4cef51e41a520137b402670a9f31e /arch/sparc64/kernel/pci_msi.c
parent42d5f99b1d801b87c45c87d7392f610d5aef351b (diff)
[SPARC64]: Kill ugly __irq_ino() macro.
We have a place to stick INO information in the virt_to_real_irq_table[], which is currently only used for VIRQs. And that is readily accessible from the one __irq_ino() call site. 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 0fa33b1f427..e4920cf960e 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,
int msi, err;
u32 msiqid;
- *virt_irq_p = virt_irq_alloc(~0);
+ *virt_irq_p = virt_irq_alloc(~0, 0, 0);
err = -ENOMEM;
if (!*virt_irq_p)
goto out_err;