commit | dc68ada3a066dcdaba3221bf51a4f98c94bf1b98 | [log] [tgz] |
---|---|---|
author | Jincheng Li <jincheng.li@intel.com> | Fri Mar 15 17:17:58 2024 +0800 |
committer | Jérémy Compostella <jeremy.compostella@intel.com> | Thu Mar 21 20:37:51 2024 +0000 |
tree | 0a511f822c1ea5007817c248185e7fa7ff549e88 | |
parent | e80d06284f4155228f5e9e368a2b65770b1c9c21 [diff] |
arch/x86: Fix typo for macro CPUID_FEATURE_HTT Change-Id: I9b29233e75483cda6bf7723cf79632f6b04233b0 Signed-off-by: Jincheng Li <jincheng.li@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81260 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com>
diff --git a/src/arch/x86/include/arch/cpu.h b/src/arch/x86/include/arch/cpu.h index fa0d5f4..cfffac0 100644 --- a/src/arch/x86/include/arch/cpu.h +++ b/src/arch/x86/include/arch/cpu.h
@@ -49,7 +49,7 @@ #define CPUID_FEATURE_PAE (1 << 6) #define CPUID_FEATURE_PSE36 (1 << 17) -#define CPUID_FEAURE_HTT (1 << 28) +#define CPUID_FEATURE_HTT (1 << 28) /* Structured Extended Feature Flags */ #define CPUID_STRUCT_EXTENDED_FEATURE_FLAGS 0x7
diff --git a/src/cpu/intel/common/hyperthreading.c b/src/cpu/intel/common/hyperthreading.c index 85c4477..d034129 100644 --- a/src/cpu/intel/common/hyperthreading.c +++ b/src/cpu/intel/common/hyperthreading.c
@@ -7,7 +7,7 @@ bool intel_ht_supported(void) { /* Is HyperThreading supported? */ - return !!(cpuid_edx(1) & CPUID_FEAURE_HTT); + return !!(cpuid_edx(1) & CPUID_FEATURE_HTT); } /*