* [PATH] Fix a warning in traps.c
@ 2004-06-14 12:50 Sylvain Munaut
0 siblings, 0 replies; only message in thread
From: Sylvain Munaut @ 2004-06-14 12:50 UTC (permalink / raw)
To: linuxppc-dev
Hi all,
Huh, it's the only warning I got when compiling, so I someone could
fix it ...
--- arch/ppc/kernel/traps.c.old 2004-06-14 14:43:34.908368944 +0200
+++ arch/ppc/kernel/traps.c 2004-06-14 14:38:29.309826984 +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;
}
Regards,
Sylvain Munaut
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-06-14 12:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-14 12:50 [PATH] Fix a warning in traps.c Sylvain Munaut
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).