aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/arm
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-05-29 01:00:03 +0000
committerUlrich Drepper <drepper@redhat.com>2000-05-29 01:00:03 +0000
commit31eb0a91a52a5b67564cf38e79f1f01930a28ed5 (patch)
treebdce53e1495345eb7ee708025c3b7f82772dbf28 /sysdeps/arm
parent84838b8ff3dc3f826d6c78e25f4e144adea4babe (diff)
downloadglibc-31eb0a91a52a5b67564cf38e79f1f01930a28ed5.tar
glibc-31eb0a91a52a5b67564cf38e79f1f01930a28ed5.tar.gz
glibc-31eb0a91a52a5b67564cf38e79f1f01930a28ed5.tar.bz2
glibc-31eb0a91a52a5b67564cf38e79f1f01930a28ed5.zip
Update.
2000-05-28 Ulrich Drepper <drepper@redhat.com> * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
Diffstat (limited to 'sysdeps/arm')
-rw-r--r--sysdeps/arm/atomicity.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/arm/atomicity.h b/sysdeps/arm/atomicity.h
index 01bd64e465..c1f3b038ef 100644
--- 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 */