On Tue, May 16, 2017 at 02:28:42PM -0500, Tom Lendacky wrote: > It's most problematic when CONFIG_AMD_MEM_ENCRYPT is not defined since > we never include an asm/ version from the linux/ path. I could create > a mem_encrypt.h in include/asm-generic/ that contains the info that > is in the !CONFIG_AMD_MEM_ENCRYPT path of the linux/ version. Let me > look into that. So we need to keep asm/ and linux/ apart. The linux/ stuff is generic, global, more or less. The asm/ is arch-specific. So they shouldn't be overlapping wrt definitions, IMHO. So asm-generic is the proper approach here because then you won't need the ifndef fun. Thanks. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply. -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html