git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
arch
/
sparc64
/
lib
/
rwlock.S
diff --git
a/arch/sparc64/lib/rwlock.S
b/arch/sparc64/lib/rwlock.S
index
ffbf75b
..
8d8ecec
100644
(file)
--- a/
arch/sparc64/lib/rwlock.S
+++ b/
arch/sparc64/lib/rwlock.S
@@
-7,12
+7,9
@@
.text
.align 64
.text
.align 64
- .globl rwlock_impl_begin, rwlock_impl_end
-
/* The non-contention read lock usage is 2 cache lines. */
.globl __read_lock, __read_unlock
/* The non-contention read lock usage is 2 cache lines. */
.globl __read_lock, __read_unlock
-rwlock_impl_begin:
__read_lock: /* %o0 = lock_ptr */
ldsw [%o0], %g5
brlz,pn %g5, __read_wait_for_writer
__read_lock: /* %o0 = lock_ptr */
ldsw [%o0], %g5
brlz,pn %g5, __read_wait_for_writer
@@
-85,5
+82,4
@@
__write_trylock_succeed:
__write_trylock_fail:
retl
mov 0, %o0
__write_trylock_fail:
retl
mov 0, %o0
-rwlock_impl_end: