diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-05-25 03:37:12 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-05-29 05:49:29 -0400 |
commit | 22d6a1cba3e9ec9baf8ce4d8dd1d088e112a64f1 (patch) | |
tree | b16a912edb689cba40395f778acb3d5dd9426fd8 /arch/sparc64/kernel/entry.S | |
parent | 36b48973b8f1818d0ae6d16e548081d00162ae39 (diff) |
[SPARC64]: Report proper system soft state to the hypervisor.
Signed-off-by: David S. Miller <davem@davemloft.net>
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 | ||