This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed]: Sparc locks.h typo


While working on trying to get libjava hash synchronization
enabled on sparc*-linux* I found this obvious typo.

Committed to mainline.

2003-10-28  David S. Miller  <davem@redhat.com>

	* sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.

--- sysdep/sparc/locks.h.~1~	Sun Apr 21 02:33:42 2002
+++ sysdep/sparc/locks.h	Fri Oct 24 21:35:12 2003
@@ -54,11 +54,11 @@
   unsigned int tmp;
   __asm__ __volatile__(
 "1:	ldstub	[%1], %0\n"
-"	orcc	%0, 0x0, %g0\n"
+"	orcc	%0, 0x0, %%g0\n"
 "	be	3f\n"
 "	 nop\n"
 "2:	ldub	[%1], %0\n"
-"	orcc	%0, 0x0, %g0\n"
+"	orcc	%0, 0x0, %%g0\n"
 "	bne	2b\n"
 "	 nop\n"
 "3:"	: "=&r" (tmp)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]