OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* include/private/gc_locks.h (GC_test_and_set): Change the
[pf3gnuchains/gcc-fork.git]
/
boehm-gc
/
include
/
private
/
gc_locks.h
diff --git
a/boehm-gc/include/private/gc_locks.h
b/boehm-gc/include/private/gc_locks.h
index
46605ca
..
ec3e6cd
100644
(file)
--- a/
boehm-gc/include/private/gc_locks.h
+++ b/
boehm-gc/include/private/gc_locks.h
@@
-209,7
+209,7
@@
/* See linuxthreads/sysdeps/arm/pt-machine.h in glibc-2.1 */
__asm__ __volatile__("swp %0, %1, [%2]"
: "=r"(oldval)
- : "
r
"(1), "r"(addr)
+ : "
0
"(1), "r"(addr)
: "memory");
return oldval;
}