diff options
Diffstat (limited to 'arch/sparc64/kernel/entry.S')
-rw-r--r-- | arch/sparc64/kernel/entry.S | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/entry.S b/arch/sparc64/kernel/entry.S index 732b77cb71f8..b5dbd5709155 100644 --- a/arch/sparc64/kernel/entry.S +++ b/arch/sparc64/kernel/entry.S | |||
@@ -1937,3 +1937,15 @@ sun4v_con_write: | |||
1937 | stx %o1, [%o4] | 1937 | stx %o1, [%o4] |
1938 | retl | 1938 | retl |
1939 | nop | 1939 | nop |
1940 | |||
1941 | /* %o0: soft state | ||
1942 | * %o1: address of description string | ||
1943 | * | ||
1944 | * returns %o0: status | ||
1945 | */ | ||
1946 | .globl sun4v_mach_set_soft_state | ||
1947 | sun4v_mach_set_soft_state: | ||
1948 | mov HV_FAST_MACH_SET_SOFT_STATE, %o5 | ||
1949 | ta HV_FAST_TRAP | ||
1950 | retl | ||
1951 | nop | ||