aboutsummaryrefslogtreecommitdiff
path: root/db2/mutex/mutex.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-08-30 21:51:29 +0000
committerUlrich Drepper <drepper@redhat.com>1999-08-30 21:51:29 +0000
commit9a93ac006df5199c4dc03710043d1d77396ff29e (patch)
tree8c244c606079be26347cec0a310693c3f829e530 /db2/mutex/mutex.c
parent0742e50134bfc3db08895c020a940a62e5036cfb (diff)
downloadglibc-9a93ac006df5199c4dc03710043d1d77396ff29e.tar
glibc-9a93ac006df5199c4dc03710043d1d77396ff29e.tar.gz
glibc-9a93ac006df5199c4dc03710043d1d77396ff29e.tar.bz2
glibc-9a93ac006df5199c4dc03710043d1d77396ff29e.zip
Update.
* db2/db_int.h: Change tsl_t type to u_int32_t. * db2/mutex/mutex.c: Allow Alpha mutex definitions. * db2/mutex/alpha.h: New file. * db2/mutex/sparc.gcc: Fix store code for v9. Simplify clear code. * sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks known. Patches by Richard Henderson.
Diffstat (limited to 'db2/mutex/mutex.c')
-rw-r--r--db2/mutex/mutex.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/db2/mutex/mutex.c b/db2/mutex/mutex.c
index acc6aa07c9..2fac14cf3d 100644
--- a/db2/mutex/mutex.c
+++ b/db2/mutex/mutex.c
@@ -110,6 +110,10 @@ static const char sccsid[] = "@(#)mutex.c 10.52 (Sleepycat) 11/8/98";
#include "x86.gcc"
#endif
+#ifdef HAVE_ASSEM_ALPHA
+#include "alpha.h"
+#endif
+
#ifdef WIN16
/* Win16 spinlocks are simple because we cannot possibly be preempted. */
#define TSL_INIT(tsl)