Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / arch / sparc / include / asm / hibernate.h
diff --git a/kernel/arch/sparc/include/asm/hibernate.h b/kernel/arch/sparc/include/asm/hibernate.h
new file mode 100644 (file)
index 0000000..2ec34f8
--- /dev/null
@@ -0,0 +1,23 @@
+/*
+ * hibernate.h:  Hibernaton support specific for sparc64.
+ *
+ * Copyright (C) 2013 Kirill V Tkhai (tkhai@yandex.ru)
+ */
+
+#ifndef ___SPARC_HIBERNATE_H
+#define ___SPARC_HIBERNATE_H
+
+struct saved_context {
+       unsigned long fp;
+       unsigned long cwp;
+       unsigned long wstate;
+
+       unsigned long tick;
+       unsigned long pstate;
+
+       unsigned long g4;
+       unsigned long g5;
+       unsigned long g6;
+};
+
+#endif