diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-05-29 00:59:18 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-05-29 00:59:18 +0000 |
commit | a07cbd18941f3437723f9ec88a6a392a78aee649 (patch) | |
tree | 5ca3315d9fe250f09df92a3cc3166e5bee31135e /sysdeps | |
parent | dae4f11aacf22e69b8cf71b2d2b59758c090fa5d (diff) | |
download | glibc-a07cbd18941f3437723f9ec88a6a392a78aee649.tar glibc-a07cbd18941f3437723f9ec88a6a392a78aee649.tar.gz glibc-a07cbd18941f3437723f9ec88a6a392a78aee649.tar.bz2 glibc-a07cbd18941f3437723f9ec88a6a392a78aee649.zip |
(compare_and_swap): Return result.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/arm/atomicity.h | 1 |
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 */ |