bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 2/4] proc: Report CPU_TYPE_X86_64 in uname as "x86_64"


From: Samuel Thibault
Subject: Re: [PATCH v2 2/4] proc: Report CPU_TYPE_X86_64 in uname as "x86_64"
Date: Mon, 15 May 2023 18:32:21 +0200
User-agent: NeoMutt/20170609 (1.8.3)

This was already fixed :)

Sergey Bugaev, le lun. 15 mai 2023 10:35:58 +0300, a ecrit:
> This fixes a proc server crash during startup inside
> initialize_version_info ().
> ---
>  proc/cpu-types.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/proc/cpu-types.c b/proc/cpu-types.c
> index 3d89d5a7..89787d3d 100644
> --- a/proc/cpu-types.c
> +++ b/proc/cpu-types.c
> @@ -30,6 +30,9 @@ const char *const mach_cpu_types[] =
>  #ifdef CPU_TYPE_PENTIUMPRO
>      [CPU_TYPE_PENTIUMPRO] = "i686",
>  #endif
> +#ifdef CPU_TYPE_X86_64
> +    [CPU_TYPE_X86_64] = "x86_64",
> +#endif
>  #ifdef CPU_TYPE_POWERPC
>      [CPU_TYPE_POWERPC] = "powerpc",
>  #endif
> -- 
> 2.40.1
> 
> 

-- 
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]