]> err.no Git - linux-2.6/commitdiff
[MIPS] Fix warning of printk format in mips_srs_init()
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Tue, 31 Oct 2006 04:44:38 +0000 (13:44 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 31 Oct 2006 20:13:21 +0000 (20:13 +0000)
arch/mips/kernel/traps.c:1115: warning: int format, long unsigned int arg (arg 2)

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/traps.c

index cce8313ec27dcacc41247e863376efe50d986809..9fda1b8be3a7e53f52a0bbfb698869971117a4d3 100644 (file)
@@ -1111,7 +1111,7 @@ static struct shadow_registers {
 static void mips_srs_init(void)
 {
        shadow_registers.sr_supported = ((read_c0_srsctl() >> 26) & 0x0f) + 1;
-       printk(KERN_INFO "%d MIPSR2 register sets available\n",
+       printk(KERN_INFO "%ld MIPSR2 register sets available\n",
               shadow_registers.sr_supported);
        shadow_registers.sr_allocated = 1;      /* Set 0 used by kernel */
 }