[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>
This commit is contained in:
David S. Miller 2007-10-13 23:27:48 -07:00
commit bb74b734a6
3 changed files with 15 additions and 13 deletions

View file

@ -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;