[SPARC64]: Report proper system soft state to the hypervisor.

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller
2007-05-25 00:37:12 -07:00
parent 36b48973b8
commit 22d6a1cba3
12 changed files with 175 additions and 7 deletions

View File

@@ -1937,3 +1937,15 @@ sun4v_con_write:
stx %o1, [%o4]
retl
nop
/* %o0: soft state
* %o1: address of description string
*
* returns %o0: status
*/
.globl sun4v_mach_set_soft_state
sun4v_mach_set_soft_state:
mov HV_FAST_MACH_SET_SOFT_STATE, %o5
ta HV_FAST_TRAP
retl
nop