Revert "CMOS: Add set_option and rework get_option."
[coreboot.git] / src / cpu / intel / hyperthreading / intel_sibling.c
index c0d569a923e31fa3c9f15e89a217aa13ba880689..52700fb4d25a2176254ab1a02dc4306a9460c438 100644 (file)
@@ -7,7 +7,7 @@
 #include <smp/spinlock.h>
 
 static int first_time = 1;
-static uint32_t disable_siblings = !CONFIG_LOGICAL_CPUS;
+static int 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("hyper_threading", &disable_siblings);
+               get_option(&disable_siblings, "hyper_threading");
        }
        result = cpuid(1);
        /* Is hyperthreading supported */