aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2004-10-05 12:09:44 +0000
committerJakub Jelinek <jakub@redhat.com>2004-10-05 12:09:44 +0000
commitddbf09971df057003d35943a9d7d9d3653a26763 (patch)
treefabcfc42ea341d284d15e89f1cc5533beac985ff /sysdeps
parent09c3bcb4adf312661293d6e41a52a572f6db8241 (diff)
downloadglibc-ddbf09971df057003d35943a9d7d9d3653a26763.tar
glibc-ddbf09971df057003d35943a9d7d9d3653a26763.tar.gz
glibc-ddbf09971df057003d35943a9d7d9d3653a26763.tar.bz2
glibc-ddbf09971df057003d35943a9d7d9d3653a26763.zip
Fix atomic.h warnings on i386 in nscd.
Fix last grouplist patch.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/i386/bits/atomic.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/i386/bits/atomic.h b/sysdeps/i386/bits/atomic.h
index 27840f9fe3..aa3f901877 100644
--- a/sysdeps/i386/bits/atomic.h
+++ b/sysdeps/i386/bits/atomic.h
@@ -181,6 +181,11 @@ init_has_cmpxchg (void) \
\
*__gmemp == (oldval) ? (*__gmemp = __gnewval, 0) : 1; })
+/* XXX We do not really need 64-bit compare-and-exchange. At least
+ not in the moment. */
+# define __arch_compare_and_exchange_val_64_acq(mem, newval, oldval) \
+ ({ __typeof (*mem) ret = *(mem); abort (); ret = (newval); ret = (oldval); })
+
#endif
/* Note that we need no lock prefix. */