RE: [PATCH v4 5/6] x86/sgx: Hook sgx_memory_failure() into mainline code

From: Luck, Tony
Date: Tue Sep 07 2021 - 11:03:28 EST


>> If I just #include <asm/sgx.h> in those files I'll break the build for other
>> architectures.
>
> What does specifically break the build?

There is no file named arch/arm/include/asm/sgx.h (ditto for other architectures that build memory-failure.c and einj.c).

-Tony