When CONFIG_AMD_MEM_ENCRYPT is compiled out, DECLARE_PER_CPU_DECRYPTED appears to be missing (even though DEFINE_PER_CPU_DECRYPTED is defined). Signed-off-by: Teddy Astie --- CC: Dennis Zhou CC: Tejun Heo CC: Christoph Lameter CC: linux-mm@kvack.org include/linux/percpu-defs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/percpu-defs.h b/include/linux/percpu-defs.h index 43c854a273c3..1f838183c3f4 100644 --- a/include/linux/percpu-defs.h +++ b/include/linux/percpu-defs.h @@ -184,6 +184,7 @@ #define DEFINE_PER_CPU_DECRYPTED(type, name) \ DEFINE_PER_CPU_SECTION(type, name, "..decrypted") #else +#define DECLARE_PER_CPU_DECRYPTED(type, name) DECLARE_PER_CPU(type, name) #define DEFINE_PER_CPU_DECRYPTED(type, name) DEFINE_PER_CPU(type, name) #endif -- 2.56.0 -- Teddy Astie | Vates XCP-ng Developer XCP-ng & Xen Orchestra - Vates solutions web: https://vates.tech