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 16d8959b11..32c5e0156e 100644
--- a/src/cpu/intel/hyperthreading/intel_sibling.c
+++ b/src/cpu/intel/hyperthreading/intel_sibling.c
@@ -38,7 +38,7 @@ int intel_ht_sibling(void)
return !!(lapicid() & (threads-1));
}
-void intel_sibling_init(device_t cpu)
+void intel_sibling_init(struct device *cpu)
{
unsigned i, siblings;
struct cpuid_result result;
@@ -74,7 +74,7 @@ void intel_sibling_init(device_t cpu)
/* I am the primary cpu start up my siblings */
for(i = 1; i < siblings; i++) {
struct device_path cpu_path;
- device_t new;
+ struct device *new;
/* Build the cpu device path */
cpu_path.type = DEVICE_PATH_APIC;
cpu_path.apic.apic_id = cpu->path.apic.apic_id + i;