summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/cpu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/x86/cpu.c b/src/arch/x86/cpu.c
index face248fc2..a51cadbee3 100644
--- a/src/arch/x86/cpu.c
+++ b/src/arch/x86/cpu.c
@@ -229,7 +229,7 @@ int cpu_get_apic_id(int logical_cpu)
return cpus_default_apic_id[logical_cpu];
}
-void cpu_initialize(unsigned int index)
+void cpu_initialize(void)
{
/* Because we busy wait at the printk spinlock.
* It is important to keep the number of printed messages
@@ -242,7 +242,7 @@ void cpu_initialize(unsigned int index)
info = cpu_info();
- printk(BIOS_INFO, "Initializing CPU #%d\n", index);
+ printk(BIOS_INFO, "Initializing CPU #%zd\n", info->index);
cpu = info->cpu;
if (!cpu)
@@ -284,7 +284,7 @@ void cpu_initialize(unsigned int index)
}
post_log_clear();
- printk(BIOS_INFO, "CPU #%d initialized\n", index);
+ printk(BIOS_INFO, "CPU #%zd initialized\n", info->index);
}
void lb_arch_add_records(struct lb_header *header)