RE: [PATCH v3] x86/cpu: Fix x86_match_cpu() to match just X86_VENDOR_INTEL

From: Luck, Tony
Date: Fri May 17 2024 - 13:34:20 EST


> diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h
> index cb4f6c513c48..271c4c95bc37 100644
> --- a/arch/x86/include/asm/processor.h
> +++ b/arch/x86/include/asm/processor.h
> @@ -175,10 +175,10 @@ struct cpuinfo_x86 {
> unsigned initialized : 1;
> } __randomize_layout;
>
> -#define X86_VENDOR_INTEL 0
> #define X86_VENDOR_CYRIX 1
> #define X86_VENDOR_AMD 2
> #define X86_VENDOR_UMC 3
> +#define X86_VENDOR_INTEL 4
> #define X86_VENDOR_CENTAUR 5
> #define X86_VENDOR_TRANSMETA 7
> #define X86_VENDOR_NSC 8

Bother ... I pasted in the whole of old patch to get the change log.
Obviously this part isn't needed in v3

Sorry.

-Tony