aboutsummaryrefslogtreecommitdiff
path: root/db2/mutex/alpha.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-01-02 06:01:06 +0000
committerUlrich Drepper <drepper@redhat.com>2000-01-02 06:01:06 +0000
commit8d6f1731fcd082e4f744ba9cb4bde4be7c08f1b3 (patch)
tree099a250d7366aef2ab028fdb24f0d692cd784b4a /db2/mutex/alpha.h
parent9a6450d578556c11e7c173d2f28362345b8f1258 (diff)
downloadglibc-8d6f1731fcd082e4f744ba9cb4bde4be7c08f1b3.tar
glibc-8d6f1731fcd082e4f744ba9cb4bde4be7c08f1b3.tar.gz
glibc-8d6f1731fcd082e4f744ba9cb4bde4be7c08f1b3.tar.bz2
glibc-8d6f1731fcd082e4f744ba9cb4bde4be7c08f1b3.zip
Update.
* Makeconfig (all-subdirs): Remove db and db2. * db/*: Removed. * db2/*: Removed.
Diffstat (limited to 'db2/mutex/alpha.h')
-rw-r--r--db2/mutex/alpha.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/db2/mutex/alpha.h b/db2/mutex/alpha.h
deleted file mode 100644
index ad3afc4544..0000000000
--- a/db2/mutex/alpha.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/* For alpha, 0 is clear, 1 is set. */
-
-#ifdef __GNUC__
-#define TSL_SET(tsl) ({ \
- register tsl_t *__l = (tsl); \
- int __r; \
- asm volatile( \
- "1: ldl_l %0,%1\n" \
- " blbs %0,2f\n" \
- " mov 1,%0\n" \
- " stl_c %0,%1\n" \
- " bne %0,1b\n" \
- " mb\n" \
- "2:" \
- : "=&r"(__r), "=m"(*__l) : "m"(*__l) : "memory"); \
- __r; \
-})
-#endif
-
-#ifdef __DECC
-#include <alpha/builtins.h>
-#define TSL_SET(tsl) (__LOCK_LONG_RETRY((tsl), 1) != 0)
-#endif
-
-#define TSL_UNSET(tsl) (*(tsl) = 0)
-#define TSL_INIT(tsl) TSL_UNSET(tsl)