summaryrefslogtreecommitdiff
path: root/src/cpu/x86
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/x86')
-rw-r--r--src/cpu/x86/lapic/lapic_cpu_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/x86/lapic/lapic_cpu_init.c b/src/cpu/x86/lapic/lapic_cpu_init.c
index 382b6e4014..0a51a08477 100644
--- a/src/cpu/x86/lapic/lapic_cpu_init.c
+++ b/src/cpu/x86/lapic/lapic_cpu_init.c
@@ -464,9 +464,9 @@ static void start_other_cpus(struct bus *cpu_bus, struct device *bsp_cpu)
}
-static void smm_other_cpus(struct bus *cpu_bus, device_t bsp_cpu)
+static void smm_other_cpus(struct bus *cpu_bus, struct device *bsp_cpu)
{
- device_t cpu;
+ struct device *cpu;
int pre_count = atomic_read(&active_cpus);
/* Loop through the cpus once to let them run through SMM relocator */