Re: [PATCH v4 5/6] x86/sgx: Hook sgx_memory_failure() into mainline code
From: Jarkko Sakkinen
Date: Tue Sep 07 2021 - 11:08:37 EST
On Tue, 2021-09-07 at 15:03 +0000, Luck, Tony wrote:
> > > 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
Would it be too obnoxious to flag that include in those files?
/Jarkko