[PATCH] trivial ppc cleanup (3/3) remove a format printk warning

From: Vincent Hanquez
Date: Thu Jun 17 2004 - 13:28:26 EST


Hi,

trivial format patch : nip is an unsigned long

Please apply,

Signed-off-by: Vincent Hanquez <tab@xxxxxxxxx>

--- linux-2.6.7/arch/ppc/kernel/~traps.c 2004-06-17 18:25:44.000000000 +0200
+++ linux-2.6.7/arch/ppc/kernel/traps.c 2004-06-17 18:25:51.000000000 +0200
@@ -646,7 +646,7 @@
/* The kernel has executed an altivec instruction without
first enabling altivec. Whinge but let it do it. */
if (++kernel_altivec_count < 10)
- printk(KERN_ERR "AltiVec used in kernel (task=%p, pc=%x)\n",
+ printk(KERN_ERR "AltiVec used in kernel (task=%p, pc=%lx)\n",
current, regs->nip);
regs->msr |= MSR_VEC;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/