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 /include | |
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 'include')
-rw-r--r-- | include/asm-sparc64/irq.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-sparc64/irq.h b/include/asm-sparc64/irq.h index 24841c22e81b..fd34d731d1a9 100644 --- a/include/asm-sparc64/irq.h +++ b/include/asm-sparc64/irq.h | |||
@@ -59,7 +59,9 @@ extern unsigned int sun4u_build_msi(u32 portid, unsigned int *virt_irq_p, | |||
59 | extern void sun4u_destroy_msi(unsigned int virt_irq); | 59 | extern void sun4u_destroy_msi(unsigned int virt_irq); |
60 | extern unsigned int sbus_build_irq(void *sbus, unsigned int ino); | 60 | extern unsigned int sbus_build_irq(void *sbus, unsigned int ino); |
61 | 61 | ||
62 | extern unsigned char virt_irq_alloc(unsigned long real_irq); | 62 | extern unsigned char virt_irq_alloc(unsigned long real_irq, |
63 | unsigned int dev_handle, | ||
64 | unsigned int dev_ino); | ||
63 | #ifdef CONFIG_PCI_MSI | 65 | #ifdef CONFIG_PCI_MSI |
64 | extern void virt_irq_free(unsigned int virt_irq); | 66 | extern void virt_irq_free(unsigned int virt_irq); |
65 | #endif | 67 | #endif |