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>
This commit is contained in:
parent
e80d06284f
commit
dc68ada3a0
@ -49,7 +49,7 @@ static inline unsigned int cpuid_get_max_func(void)
|
|||||||
|
|
||||||
#define CPUID_FEATURE_PAE (1 << 6)
|
#define CPUID_FEATURE_PAE (1 << 6)
|
||||||
#define CPUID_FEATURE_PSE36 (1 << 17)
|
#define CPUID_FEATURE_PSE36 (1 << 17)
|
||||||
#define CPUID_FEAURE_HTT (1 << 28)
|
#define CPUID_FEATURE_HTT (1 << 28)
|
||||||
|
|
||||||
/* Structured Extended Feature Flags */
|
/* Structured Extended Feature Flags */
|
||||||
#define CPUID_STRUCT_EXTENDED_FEATURE_FLAGS 0x7
|
#define CPUID_STRUCT_EXTENDED_FEATURE_FLAGS 0x7
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
bool intel_ht_supported(void)
|
bool intel_ht_supported(void)
|
||||||
{
|
{
|
||||||
/* Is HyperThreading supported? */
|
/* Is HyperThreading supported? */
|
||||||
return !!(cpuid_edx(1) & CPUID_FEAURE_HTT);
|
return !!(cpuid_edx(1) & CPUID_FEATURE_HTT);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user