]> err.no Git - linux-2.6/commitdiff
[ARM] Fix warnings in arch/arm/kernel/setup.c
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Mon, 3 Jul 2006 12:29:38 +0000 (13:29 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 3 Jul 2006 12:29:38 +0000 (13:29 +0100)
cr_alignment is unsigned long, so should be the format string.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/setup.c

index 7d6a516c0b9f4db182cc1a7d6b1df57b90331758..ed1c4d62d999e4170df1de47d017da5968b1d76e 100644 (file)
@@ -344,7 +344,7 @@ static void __init setup_processor(void)
        cpu_cache = *list->cache;
 #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,
               proc_arch[cpu_architecture()], cr_alignment);