mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
All references to sev_active() were moved to arch/x86 so we don't need to define it for s390 anymore. Signed-off-by: Thiago Jung Bauermann <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Halil Pasic <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
15 lines
365 B
C
15 lines
365 B
C
/* 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__ */
|