.. | .. |
---|
47 | 47 | |
---|
48 | 48 | void __init mem_encrypt_free_decrypted_mem(void); |
---|
49 | 49 | |
---|
50 | | -/* Architecture __weak replacement functions */ |
---|
51 | | -void __init mem_encrypt_init(void); |
---|
52 | | - |
---|
53 | 50 | void __init sev_es_init_vc_handling(void); |
---|
54 | 51 | bool sme_active(void); |
---|
55 | 52 | bool sev_active(void); |
---|
56 | 53 | bool sev_es_active(void); |
---|
| 54 | + |
---|
| 55 | +void __init mem_encrypt_init(void); |
---|
57 | 56 | |
---|
58 | 57 | #define __bss_decrypted __section(".bss..decrypted") |
---|
59 | 58 | |
---|
.. | .. |
---|
86 | 85 | |
---|
87 | 86 | static inline void mem_encrypt_free_decrypted_mem(void) { } |
---|
88 | 87 | |
---|
| 88 | +static inline void mem_encrypt_init(void) { } |
---|
| 89 | + |
---|
89 | 90 | #define __bss_decrypted |
---|
90 | 91 | |
---|
91 | 92 | #endif /* CONFIG_AMD_MEM_ENCRYPT */ |
---|