[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <97928561eb5b4a7fd677eaba3d376c83352571a2.camel@kernel.org>
Date: Wed, 08 Sep 2021 05:29:13 +0300
From: Jarkko Sakkinen <jarkko@...nel.org>
To: "Luck, Tony" <tony.luck@...el.com>,
Sean Christopherson <seanjc@...gle.com>,
"Hansen, Dave" <dave.hansen@...el.com>
Cc: "Zhang, Cathy" <cathy.zhang@...el.com>,
"x86@...nel.org" <x86@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v4 5/6] x86/sgx: Hook sgx_memory_failure() into mainline
code
On Tue, 2021-09-07 at 17:46 +0000, Luck, Tony wrote:
> > Would it be too obnoxious to flag that include in those files?
>
> Jarkko,
>
> You mean:
>
> #ifdef CONFIG_X86_SGX
> #include <asm/sgx.h>
> #endif
>
> in mm/memory-failure.h?
>
> That wouldn't help. I need the do-nothing stub definition on other architectures.
>
> I'm going to explore Dave's suggestion of changing the names to something less sgx specific.
>
> -Tony
Ah sorry, I get it :-) Yeah, Dave's suggestion makes much more sense.
/Jarkko
Powered by blists - more mailing lists