Skip to contentSkip to conversation

Fix a warning in traps.c

PATH Sylvain Munaut 1 participant 1 message Jun 14, 2004

lore
Share & tools
lore
#0 lore raw

Hi all,

Huh, it's the only warning I got when compiling, so I someone could fix it ...

ppc/kernel/traps.c 2004-06-14 14:38:29.309826984 +0200 renamed from ppc/kernel/traps.c.old 2004-06-14 14:43:34.908368944 +0200 +1 -1
@@ -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;
}

Regards,

Sylvain Munaut

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/