diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-10-14 02:27:48 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-14 02:27:48 -0400 |
commit | bb74b734a68544ad8f1537a33a7e22c73c87ed1c (patch) | |
tree | 27c0d6112ee4cef51e41a520137b402670a9f31e /arch/sparc64/kernel/pci_msi.c | |
parent | 42d5f99b1d801b87c45c87d7392f610d5aef351b (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/pci_msi.c b/arch/sparc64/kernel/pci_msi.c index 0fa33b1f4274..e4920cf960e7 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); | 126 | *virt_irq_p = virt_irq_alloc(~0, 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; |