From 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 13 May 2024 10:30:14 +0000 Subject: [PATCH] modify sin led gpio --- kernel/arch/x86/include/asm/mem_encrypt.h | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/kernel/arch/x86/include/asm/mem_encrypt.h b/kernel/arch/x86/include/asm/mem_encrypt.h index 8f3fa55..4406d58 100644 --- a/kernel/arch/x86/include/asm/mem_encrypt.h +++ b/kernel/arch/x86/include/asm/mem_encrypt.h @@ -47,13 +47,12 @@ void __init mem_encrypt_free_decrypted_mem(void); -/* Architecture __weak replacement functions */ -void __init mem_encrypt_init(void); - void __init sev_es_init_vc_handling(void); bool sme_active(void); bool sev_active(void); bool sev_es_active(void); + +void __init mem_encrypt_init(void); #define __bss_decrypted __section(".bss..decrypted") @@ -86,6 +85,8 @@ static inline void mem_encrypt_free_decrypted_mem(void) { } +static inline void mem_encrypt_init(void) { } + #define __bss_decrypted #endif /* CONFIG_AMD_MEM_ENCRYPT */ -- Gitblit v1.6.2