treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / s390 / include / asm / mem_encrypt.h
blob2542cbf7e2d1805d5256788aaa9e1b78dbd48660
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef S390_MEM_ENCRYPT_H__
3 #define S390_MEM_ENCRYPT_H__
5 #ifndef __ASSEMBLY__
7 static inline bool mem_encrypt_active(void) { return false; }
9 int set_memory_encrypted(unsigned long addr, int numpages);
10 int set_memory_decrypted(unsigned long addr, int numpages);
12 #endif /* __ASSEMBLY__ */
14 #endif /* S390_MEM_ENCRYPT_H__ */