From: John Wolfe Date: Fri, 19 Nov 2021 19:40:50 +0000 (-0800) Subject: Change to common header file not applicable to open-vm-tools. X-Git-Tag: stable-12.0.0~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4b6231aab74fcc51cf6a22848d9512605be8d28;p=thirdparty%2Fopen-vm-tools.git Change to common header file not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/x86cpuid.h b/open-vm-tools/lib/include/x86cpuid.h index 986a18044..02b6bf5bd 100644 --- a/open-vm-tools/lib/include/x86cpuid.h +++ b/open-vm-tools/lib/include/x86cpuid.h @@ -2270,6 +2270,7 @@ CPUID_FAMILY_IS_ZEN3(uint32 eax) return CPUID_EFFECTIVE_FAMILY(eax) == CPUID_FAMILY_ZEN3; } + /* * AMD Barcelona (of either Opteron or Phenom kind). */ @@ -2401,8 +2402,8 @@ CPUID_MODEL_IS_DHYANA_A(uint32 eax) static INLINE Bool CPUID_MODEL_IS_ZEN3(uint32 eax) { - return CPUID_EFFECTIVE_FAMILY(eax) == CPUID_FAMILY_ZEN3 && - CPUID_EFFECTIVE_MODEL(eax) <= CPUID_MODEL_ZEN3_0F; + return CPUID_EFFECTIVE_FAMILY(eax) == CPUID_FAMILY_ZEN3 && + CPUID_EFFECTIVE_MODEL(eax) <= CPUID_MODEL_ZEN3_0F; }