summaryrefslogtreecommitdiff
path: root/src/cpu/intel/hyperthreading
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/intel/hyperthreading')
-rw-r--r--src/cpu/intel/hyperthreading/intel_sibling.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/intel/hyperthreading/intel_sibling.c b/src/cpu/intel/hyperthreading/intel_sibling.c
index 52700fb4d2..c0d569a923 100644
--- a/src/cpu/intel/hyperthreading/intel_sibling.c
+++ b/src/cpu/intel/hyperthreading/intel_sibling.c
@@ -7,7 +7,7 @@
#include <smp/spinlock.h>
static int first_time = 1;
-static int disable_siblings = !CONFIG_LOGICAL_CPUS;
+static uint32_t disable_siblings = !CONFIG_LOGICAL_CPUS;
void intel_sibling_init(device_t cpu)
{
@@ -17,7 +17,7 @@ void intel_sibling_init(device_t cpu)
/* On the bootstrap processor see if I want sibling cpus enabled */
if (first_time) {
first_time = 0;
- get_option(&disable_siblings, "hyper_threading");
+ get_option("hyper_threading", &disable_siblings);
}
result = cpuid(1);
/* Is hyperthreading supported */