summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64/sstate.h
diff options
context:
space:
mode:
authorDavid S. Miller2007-05-25 09:37:12 +0200
committerDavid S. Miller2007-05-29 11:49:29 +0200
commit22d6a1cba3e9ec9baf8ce4d8dd1d088e112a64f1 (patch)
treeb16a912edb689cba40395f778acb3d5dd9426fd8 /include/asm-sparc64/sstate.h
parent[SPARC64]: Fix typo in sun4v_hvapi_register error handling. (diff)
downloadkernel-qcow2-linux-22d6a1cba3e9ec9baf8ce4d8dd1d088e112a64f1.tar.gz
kernel-qcow2-linux-22d6a1cba3e9ec9baf8ce4d8dd1d088e112a64f1.tar.xz
kernel-qcow2-linux-22d6a1cba3e9ec9baf8ce4d8dd1d088e112a64f1.zip
[SPARC64]: Report proper system soft state to the hypervisor.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc64/sstate.h')
-rw-r--r--include/asm-sparc64/sstate.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/asm-sparc64/sstate.h b/include/asm-sparc64/sstate.h
new file mode 100644
index 000000000000..a7c35dbcb281
--- /dev/null
+++ b/include/asm-sparc64/sstate.h
@@ -0,0 +1,13 @@
+#ifndef _SPARC64_SSTATE_H
+#define _SPARC64_SSTATE_H
+
+extern void sstate_booting(void);
+extern void sstate_running(void);
+extern void sstate_halt(void);
+extern void sstate_poweroff(void);
+extern void sstate_panic(void);
+extern void sstate_reboot(void);
+
+extern void sun4v_sstate_init(void);
+
+#endif /* _SPARC64_SSTATE_H */