projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dae4f11
)
(compare_and_swap): Return result.
author
Ulrich Drepper
<drepper@redhat.com>
Mon, 29 May 2000 00:59:18 +0000
(
00:59
+0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Mon, 29 May 2000 00:59:18 +0000
(
00:59
+0000)
sysdeps/arm/atomicity.h
patch
|
blob
|
history
diff --git
a/sysdeps/arm/atomicity.h
b/sysdeps/arm/atomicity.h
index
01bd64e
..
c1f3b03
100644
(file)
--- a/
sysdeps/arm/atomicity.h
+++ b/
sysdeps/arm/atomicity.h
@@
-81,6
+81,7
@@
compare_and_swap (volatile long int *p, long int oldval, long int newval)
: "=&r" (result), "=&r" (tmp)
: "r" (p), "r" (newval), "r" (oldval)
: "cc", "memory");
+ return result;
}
#endif /* atomicity.h */