aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/hypervisor.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-08-01 23:27:17 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2011-08-15 18:31:41 -0700
commite6aefcf11c97220fecacddbad36335461b486ec9 (patch)
treeaaf2be2725e5be7c0d6df6ade53b9810e3cb226b /arch/sparc/include/asm/hypervisor.h
parent7508c959a81a93997e5d8cf6e75168ef8bb3f93e (diff)
downloadkernel_samsung_smdk4412-e6aefcf11c97220fecacddbad36335461b486ec9.zip
kernel_samsung_smdk4412-e6aefcf11c97220fecacddbad36335461b486ec9.tar.gz
kernel_samsung_smdk4412-e6aefcf11c97220fecacddbad36335461b486ec9.tar.bz2
sparc: Set reboot-cmd using reboot data hypervisor call if available.
[ Upstream commit ea5e7447ea9d555558e0f13798f5143dd51a915a ] Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/sparc/include/asm/hypervisor.h')
-rw-r--r--arch/sparc/include/asm/hypervisor.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/hypervisor.h b/arch/sparc/include/asm/hypervisor.h
index 2b7da27..015a761 100644
--- a/arch/sparc/include/asm/hypervisor.h
+++ b/arch/sparc/include/asm/hypervisor.h
@@ -2927,6 +2927,13 @@ extern unsigned long sun4v_ncs_request(unsigned long request,
#define HV_FAST_FIRE_GET_PERFREG 0x120
#define HV_FAST_FIRE_SET_PERFREG 0x121
+#define HV_FAST_REBOOT_DATA_SET 0x172
+
+#ifndef __ASSEMBLY__
+extern unsigned long sun4v_reboot_data_set(unsigned long ra,
+ unsigned long len);
+#endif
+
/* Function numbers for HV_CORE_TRAP. */
#define HV_CORE_SET_VER 0x00
#define HV_CORE_PUTCHAR 0x01