[SPARC64]: Move devino_to_sysino out of pci_sun4v_asm.S

It is not PCI specific, it is for all system interrupts.

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller
2006-02-13 00:02:16 -08:00
parent 059833eb81
commit 85dfa19ba9
4 changed files with 17 additions and 14 deletions

View File

@@ -1695,3 +1695,15 @@ hard_smp_processor_id:
retl
nop
#endif
/* %o0: devhandle
* %o1: devino
*
* returns %o0: sysino
*/
.globl pci_sun4v_devino_to_sysino
sun4v_devino_to_sysino:
mov HV_FAST_INTR_DEVINO2SYSINO, %o5
ta HV_FAST_TRAP
retl
mov %o1, %o0