Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jan 2008 17:26:59 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 132412 for review
Message-ID:  <200801031726.m03HQxYq025549@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=132412

Change 132412 by imp@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));
 }
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801031726.m03HQxYq025549>