diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-02-13 03:02:16 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 04:12:36 -0500 |
commit | 85dfa19ba92f88fa1c1482f655c7247119dfdcd5 (patch) | |
tree | 28038115f626e5c84bb50ad9ff5eed5dc943fcde /include/asm-sparc64 | |
parent | 059833eb817fec3a5a7f62fba9592749c4cebc73 (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 'include/asm-sparc64')
-rw-r--r-- | include/asm-sparc64/hypervisor.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-sparc64/hypervisor.h b/include/asm-sparc64/hypervisor.h index 5d795ee5192..16a40f48beb 100644 --- a/include/asm-sparc64/hypervisor.h +++ b/include/asm-sparc64/hypervisor.h | |||
@@ -1203,6 +1203,11 @@ struct hv_trap_trace_entry { | |||
1203 | */ | 1203 | */ |
1204 | #define HV_FAST_INTR_DEVINO2SYSINO 0xa0 | 1204 | #define HV_FAST_INTR_DEVINO2SYSINO 0xa0 |
1205 | 1205 | ||
1206 | #ifndef __ASSEMBLY__ | ||
1207 | extern unsigned long sun4v_devino_to_sysino(unsigned long devhandle, | ||
1208 | unsigned long devino); | ||
1209 | #endif | ||
1210 | |||
1206 | /* intr_getenabled() | 1211 | /* intr_getenabled() |
1207 | * TRAP: HV_FAST_TRAP | 1212 | * TRAP: HV_FAST_TRAP |
1208 | * FUNCTION: HV_FAST_INTR_GETENABLED | 1213 | * FUNCTION: HV_FAST_INTR_GETENABLED |