summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/mem_encrypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/include/asm/mem_encrypt.h')
-rw-r--r--arch/s390/include/asm/mem_encrypt.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/s390/include/asm/mem_encrypt.h b/arch/s390/include/asm/mem_encrypt.h
new file mode 100644
index 000000000..2542cbf7e
--- /dev/null
+++ b/arch/s390/include/asm/mem_encrypt.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef S390_MEM_ENCRYPT_H__
+#define S390_MEM_ENCRYPT_H__
+
+#ifndef __ASSEMBLY__
+
+static inline bool mem_encrypt_active(void) { return false; }
+
+int set_memory_encrypted(unsigned long addr, int numpages);
+int set_memory_decrypted(unsigned long addr, int numpages);
+
+#endif /* __ASSEMBLY__ */
+
+#endif /* S390_MEM_ENCRYPT_H__ */