aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/purgatory.h
diff options
context:
space:
mode:
authorPhilipp Rudo <prudo@linux.vnet.ibm.com>2017-08-28 15:32:36 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-04-16 09:10:22 +0200
commit840798a1f52994c172270893bd2ec6013cc92e40 (patch)
tree338936422b71c2f0d6ab52fe7c81537cacdeadf0 /arch/s390/include/asm/purgatory.h
parent15ceb8c936d13d940ca9e53996fbd05a26ce96db (diff)
s390/kexec_file: Add purgatory
The common code expects the architecture to have a purgatory that runs between the two kernels. Add it now. For simplicity first skip crash support. Signed-off-by: Philipp Rudo <prudo@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/purgatory.h')
-rw-r--r--arch/s390/include/asm/purgatory.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/s390/include/asm/purgatory.h b/arch/s390/include/asm/purgatory.h
new file mode 100644
index 000000000000..e297bcfc476f
--- /dev/null
+++ b/arch/s390/include/asm/purgatory.h
@@ -0,0 +1,17 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Copyright IBM Corp. 2018
+ *
+ * Author(s): Philipp Rudo <prudo@linux.vnet.ibm.com>
+ */
+
+#ifndef _S390_PURGATORY_H_
+#define _S390_PURGATORY_H_
+#ifndef __ASSEMBLY__
+
+#include <linux/purgatory.h>
+
+int verify_sha256_digest(void);
+
+#endif /* __ASSEMBLY__ */
+#endif /* _S390_PURGATORY_H_ */

Privacy Policy