[committed]: Sparc locks.h typo
David S. Miller
davem@redhat.com
Tue Oct 28 14:20:00 GMT 2003
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)
More information about the Java-patches
mailing list