commit | ea5e7447ea9d555558e0f13798f5143dd51a915a | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Mon Aug 01 23:27:17 2011 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Aug 02 21:28:52 2011 -0700 |
tree | d444f3edbe02b4dddbc958a78b962a96e703d9ca | |
parent | e2eb9f8158ead43a88c0f0b4d74257b1be938a18 [diff] [blame] |
sparc: Set reboot-cmd using reboot data hypervisor call if available. Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/arch/sparc/kernel/hvcalls.S b/arch/sparc/kernel/hvcalls.S index 8a5f35f..58d60de 100644 --- a/arch/sparc/kernel/hvcalls.S +++ b/arch/sparc/kernel/hvcalls.S
@@ -798,3 +798,10 @@ retl nop ENDPROC(sun4v_niagara2_setperf) + +ENTRY(sun4v_reboot_data_set) + mov HV_FAST_REBOOT_DATA_SET, %o5 + ta HV_FAST_TRAP + retl + nop +ENDPROC(sun4v_reboot_data_set)