Re: [PATCH v3 1/2] x86/sgx: Add the missing ifdef for sgx_set_attribute()

From: Borislav Petkov
Date: Thu Aug 26 2021 - 12:35:11 EST


On Thu, Aug 26, 2021 at 07:08:07PM +0300, Jarkko Sakkinen wrote:
> I made this change because I'm including the header to set_memory.c, and

This is something you're doing locally, I presume. If so, you can keep
this patch local too.

> It's also incoherent that KVM specific functions are compilation flagged

They don't really have to be - they're just declarations.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette