[ARM] Fix warnings in arch/arm/kernel/setup.c
cr_alignment is unsigned long, so should be the format string. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
committed by
Russell King
parent
c9e4143c4d
commit
4e19025bc7
@@ -344,7 +344,7 @@ static void __init setup_processor(void)
|
|||||||
cpu_cache = *list->cache;
|
cpu_cache = *list->cache;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
printk("CPU: %s [%08x] revision %d (ARMv%s), cr=%08x\n",
|
printk("CPU: %s [%08x] revision %d (ARMv%s), cr=%08lx\n",
|
||||||
cpu_name, processor_id, (int)processor_id & 15,
|
cpu_name, processor_id, (int)processor_id & 15,
|
||||||
proc_arch[cpu_architecture()], cr_alignment);
|
proc_arch[cpu_architecture()], cr_alignment);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user