PERFORCE change 132412 for review
Warner Losh
imp at FreeBSD.org
Thu Jan 3 09:26:59 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=132412
Change 132412 by imp at imp_paco-paco on 2008/01/03 17:26:15
asm and volatile need __ in front.
Affected files ...
.. //depot/projects/mips2-jnpr/src/sys/mips/mips/mips_subr.c#3 edit
Differences ...
==== //depot/projects/mips2-jnpr/src/sys/mips/mips/mips_subr.c#3 (text+ko) ====
@@ -9,14 +9,14 @@
mips_setwatchlo(u_int32_t watchlo)
{
- asm volatile ("mtc0 %0, $18, 0" : : "r" (watchlo));
+ __asm __volatile ("mtc0 %0, $18, 0" : : "r" (watchlo));
}
static void
mips_setwatchhi(u_int32_t watchhi)
{
- asm volatile ("mtc0 %0, $19, 0" : : "r" (watchhi));
+ __asm __volatile ("mtc0 %0, $19, 0" : : "r" (watchhi));
}
More information about the p4-projects
mailing list