diff options
Diffstat (limited to 'db2/mutex/68020.gcc')
-rw-r--r-- | db2/mutex/68020.gcc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/db2/mutex/68020.gcc b/db2/mutex/68020.gcc deleted file mode 100644 index 21410e61d4..0000000000 --- a/db2/mutex/68020.gcc +++ /dev/null @@ -1,18 +0,0 @@ -/* - * @(#)68020.gcc 10.2 (Sleepycat) 2/15/98 - * - * For gcc/68K, 0 is clear, 1 is set. - */ -#define TSL_SET(tsl) ({ \ - register tsl_t *__l = (tsl); \ - int __r; \ - asm volatile("tas %1; \n \ - seq %0" \ - : "=dm" (__r), "=m" (*__l) \ - : "1" (*__l) \ - ); \ - __r & 1; \ -}) - -#define TSL_UNSET(tsl) (*(tsl) = 0) -#define TSL_INIT(tsl) TSL_UNSET(tsl) |