aboutsummaryrefslogtreecommitdiffstats
path: root/nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S')
-rw-r--r--nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S b/nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
index 11091e900ba..8896a71c9aa 100644
--- a/nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
+++ b/nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
@@ -19,10 +19,10 @@
.text
ENTRY(pthread_spin_lock)
- ldstub [%o0], %g1
+1: ldstub [%o0], %g1
brnz,pn %g1, 2f
membar #StoreLoad | #StoreStore
-1: retl
+ retl
mov 0, %o0
2: ldub [%o0], %g1
brnz,pt %g1, 2b