summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/hvcalls.S
diff options
context:
space:
mode:
authorDavid S. Miller2011-08-02 08:27:17 +0200
committerDavid S. Miller2011-08-03 06:28:52 +0200
commitea5e7447ea9d555558e0f13798f5143dd51a915a (patch)
treed444f3edbe02b4dddbc958a78b962a96e703d9ca /arch/sparc/kernel/hvcalls.S
parentsparc: Add some missing hypervisor API groups. (diff)
downloadkernel-qcow2-linux-ea5e7447ea9d555558e0f13798f5143dd51a915a.tar.gz
kernel-qcow2-linux-ea5e7447ea9d555558e0f13798f5143dd51a915a.tar.xz
kernel-qcow2-linux-ea5e7447ea9d555558e0f13798f5143dd51a915a.zip
sparc: Set reboot-cmd using reboot data hypervisor call if available.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/hvcalls.S')
-rw-r--r--arch/sparc/kernel/hvcalls.S7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sparc/kernel/hvcalls.S b/arch/sparc/kernel/hvcalls.S
index 8a5f35ffb15e..58d60de4d65b 100644
--- a/arch/sparc/kernel/hvcalls.S
+++ b/arch/sparc/kernel/hvcalls.S
@@ -798,3 +798,10 @@ ENTRY(sun4v_niagara2_setperf)
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)