blob: 2542cbf7e2d1805d5256788aaa9e1b78dbd48660 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef S390_MEM_ENCRYPT_H__
3#define S390_MEM_ENCRYPT_H__
4
5#ifndef __ASSEMBLY__
6
7static inline bool mem_encrypt_active(void) { return false; }
8
9int set_memory_encrypted(unsigned long addr, int numpages);
10int set_memory_decrypted(unsigned long addr, int numpages);
11
12#endif /* __ASSEMBLY__ */
13
14#endif /* S390_MEM_ENCRYPT_H__ */