Re: [PATCH 1/6] arch: x86: Don't use TIF flags for mm context

From: peterz
Date: Wed Jul 29 2020 - 05:03:28 EST


On Tue, Jul 28, 2020 at 04:22:24PM -0400, Gabriel Krisman Bertazi wrote:

> diff --git a/arch/x86/include/asm/thread_info.h b/arch/x86/include/asm/thread_info.h
> index 267701ae3d86..934aa15b20f2 100644
> --- a/arch/x86/include/asm/thread_info.h
> +++ b/arch/x86/include/asm/thread_info.h
> @@ -53,6 +53,12 @@ struct task_struct;
> #include <asm/cpufeature.h>
> #include <linux/atomic.h>
>
> +enum {
> + PSABI_IA64 = 0,

That's the Itanic, and it has sailed. I think you want PSABI_X86_64 or
something.

> + PSABI_IA32 = 1,
> + PSABI_X32 = 2
> +};