summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cpu/intel/common/hyperthreading.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/cpu/intel/common/hyperthreading.c b/src/cpu/intel/common/hyperthreading.c
index b9c17b6fa1..2936770cc3 100644
--- a/src/cpu/intel/common/hyperthreading.c
+++ b/src/cpu/intel/common/hyperthreading.c
@@ -23,12 +23,10 @@ bool intel_ht_sibling(void)
if (!intel_ht_supported())
return false;
- if (is_x2apic_mode()) {
- if (cpuid_eax(0) >= 0xb) {
- result = cpuid_ext(0xb, 0);
- const uint32_t div = 1 << (result.eax & 0x1f);
- return result.edx % div > 0;
- }
+ if (cpuid_eax(0) >= 0xb) {
+ result = cpuid_ext(0xb, 0);
+ const uint32_t div = 1 << (result.eax & 0x1f);
+ return result.edx % div > 0;
}
apic_ids = 1;