[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:
parent
42d5f99b1d
commit
bb74b734a6
3 changed files with 15 additions and 13 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue