aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/entry.S
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-02-13 03:02:16 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 04:12:36 -0500
commit85dfa19ba92f88fa1c1482f655c7247119dfdcd5 (patch)
tree28038115f626e5c84bb50ad9ff5eed5dc943fcde /arch/sparc64/kernel/entry.S
parent059833eb817fec3a5a7f62fba9592749c4cebc73 (diff)
[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>
Diffstat (limited to 'arch/sparc64/kernel/entry.S')
-rw-r--r--arch/sparc64/kernel/entry.S12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/entry.S b/arch/sparc64/kernel/entry.S
index f51b66a1687a..fa185f227055 100644
--- a/arch/sparc64/kernel/entry.S
+++ b/arch/sparc64/kernel/entry.S
@@ -1695,3 +1695,15 @@ hard_smp_processor_id:
1695 retl 1695 retl
1696 nop 1696 nop
1697#endif 1697#endif
1698
1699 /* %o0: devhandle
1700 * %o1: devino
1701 *
1702 * returns %o0: sysino
1703 */
1704 .globl pci_sun4v_devino_to_sysino
1705sun4v_devino_to_sysino:
1706 mov HV_FAST_INTR_DEVINO2SYSINO, %o5
1707 ta HV_FAST_TRAP
1708 retl
1709 mov %o1, %o0