OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00ff75b
)
sync with glibc
author
Mike Frysinger
<vapier@gentoo.org>
Thu, 8 Sep 2005 02:59:43 +0000
(
02:59
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Thu, 8 Sep 2005 02:59:43 +0000
(
02:59
-0000)
libpthread/linuxthreads/spinlock.c
patch
|
blob
|
history
diff --git
a/libpthread/linuxthreads/spinlock.c
b/libpthread/linuxthreads/spinlock.c
index
c0e7a36
..
cdf45f1
100644
(file)
--- a/
libpthread/linuxthreads/spinlock.c
+++ b/
libpthread/linuxthreads/spinlock.c
@@
-108,7
+108,7
@@
void internal_function __pthread_lock(struct _pthread_fastlock * lock,
#ifdef BUSY_WAIT_NOP
BUSY_WAIT_NOP;
#endif
- __asm __volatile ("" : "=m" (lock->__status) : "
0
" (lock->__status));
+ __asm __volatile ("" : "=m" (lock->__status) : "
m
" (lock->__status));
}
lock->__spinlock += (spin_count - lock->__spinlock) / 8;