Re: [PATCH v4 04/13] x86/fsgsbase/64: Add intrinsics/macros for FSGSBASE instructions

From: Bae, Chang Seok
Date: Thu Jan 17 2019 - 13:04:58 EST



> On Jan 16, 2019, at 21:09, Andi Kleen <ak@xxxxxxxxxxxxxxx> wrote:
>
>> +#ifdef CONFIG_X86_64
>> +
>> +#include <asm/inst.h>
>> +
>> +.macro RDGSBASE opd
>
> The caller can now use the assembler instructions directly, so the macros
> are not needed anymore.
>
> -Andi

Yeah, youâre right, since GAS is included in the binutils.

Thanks