> On Jan 16, 2019, at 21:09, Andi Kleen wrote:
>
>> +#ifdef CONFIG_X86_64
>> +
>> +#include
>> +
>> +.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
> +#ifdef CONFIG_X86_64
> +
> +#include
> +
> +.macro RDGSBASE opd
The caller can now use the assembler instructions directly, so the macros
are not needed anymore.
-Andi
From: Andi Kleen
Add C intrinsics and assembler macros for the new FSBASE and GSBASE
instructions.
Very straight forward. Used in followon patches.
[ luto: Rename the variables from FS and GS to FSBASE and GSBASE and
make safe to include on 32-bit kernels. ]
v2: Use __always_inline
[
3 matches
Mail list logo