diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/x86/include/arch/cpu.h | 2 | ||||
-rw-r--r-- | src/cpu/x86/mp_init.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/include/arch/cpu.h b/src/arch/x86/include/arch/cpu.h index 3fd4c1b2ea..42201e282e 100644 --- a/src/arch/x86/include/arch/cpu.h +++ b/src/arch/x86/include/arch/cpu.h @@ -225,7 +225,7 @@ struct thread; struct cpu_info { struct device *cpu; - unsigned int index; + size_t index; #if CONFIG(COOP_MULTITASKING) struct thread *thread; #endif diff --git a/src/cpu/x86/mp_init.c b/src/cpu/x86/mp_init.c index cd6d8ca63d..a3a6becad7 100644 --- a/src/cpu/x86/mp_init.c +++ b/src/cpu/x86/mp_init.c @@ -569,7 +569,7 @@ static void init_bsp(struct bus *cpu_bus) info->cpu->name = processor_name; if (info->index != 0) - printk(BIOS_CRIT, "BSP index(%d) != 0!\n", info->index); + printk(BIOS_CRIT, "BSP index(%zd) != 0!\n", info->index); /* Track BSP in cpu_map structures. */ cpu_add_map_entry(info->index); |