1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef S390_MEM_ENCRYPT_H__
3 #define S390_MEM_ENCRYPT_H__
7 #define sme_me_mask 0ULL
9 static inline bool sme_active(void) { return false; }
10 extern bool sev_active(void);
12 int set_memory_encrypted(unsigned long addr
, int numpages
);
13 int set_memory_decrypted(unsigned long addr
, int numpages
);
15 #endif /* __ASSEMBLY__ */
17 #endif /* S390_MEM_ENCRYPT_H__ */